From 8954339e643f1968e6901c46d7fc974410c74df0 Mon Sep 17 00:00:00 2001 From: Bryan Cazabonne Date: Fri, 22 Oct 2021 15:15:39 +0200 Subject: [PATCH] Removed duplicated code in Rinex clock file parser. --- src/main/java/org/orekit/gnss/clock/RinexClockParser.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/main/java/org/orekit/gnss/clock/RinexClockParser.java b/src/main/java/org/orekit/gnss/clock/RinexClockParser.java index cb11462d8f..fd40cff1a7 100644 --- a/src/main/java/org/orekit/gnss/clock/RinexClockParser.java +++ b/src/main/java/org/orekit/gnss/clock/RinexClockParser.java @@ -330,14 +330,6 @@ public void parse(final String line, final ParseInfo pi) { } } - /** {@inheritDoc} */ - @Override - public Stream allowedNext() { - return Stream.of(HEADER_PROGRAM, HEADER_COMMENT, HEADER_SYSTEM_OBS, HEADER_SYSTEM_OBS_CONTINUATION, HEADER_TIME_SYSTEM, HEADER_LEAP_SECONDS, - HEADER_LEAP_SECONDS_GNSS, HEADER_DCBS, HEADER_PCVS, HEADER_TYPES_OF_DATA, HEADER_STATIONS_NAME, HEADER_STATION_CLOCK_REF, - HEADER_ANALYSIS_CENTER, HEADER_NUMBER_OF_CLOCK_REF, HEADER_ANALYSIS_CLOCK_REF, HEADER_NUMBER_OF_SOLN_STATIONS, - HEADER_SOLN_STATIONS, HEADER_NUMBER_OF_SOLN_SATS, HEADER_PRN_LIST, HEADER_END); - } }, /** Parser for generating program and emiting agency. */