Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 528f38c

Browse files
committed
remove compiler warning
1 parent ed165b8 commit 528f38c

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src/main/java/de/taimos/gpsd4java/backend/GPSdEndpoint.java

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
import de.taimos.gpsd4java.types.DeviceObject;
4141
import de.taimos.gpsd4java.types.DevicesObject;
4242
import de.taimos.gpsd4java.types.IGPSObject;
43-
import de.taimos.gpsd4java.types.ParseException;
4443
import de.taimos.gpsd4java.types.PollObject;
4544
import de.taimos.gpsd4java.types.SKYObject;
4645
import de.taimos.gpsd4java.types.TPVObject;
@@ -177,10 +176,8 @@ public WatchObject watch(final boolean enable, final boolean dumpData, final Str
177176
* @return {@link PollObject}
178177
* @throws IOException
179178
* on IO error in socket
180-
* @throws ParseException
181-
* on illegal response
182179
*/
183-
public PollObject poll() throws IOException, ParseException {
180+
public PollObject poll() throws IOException {
184181
return this.syncCommand("?POLL;", PollObject.class);
185182
}
186183

@@ -190,10 +187,8 @@ public PollObject poll() throws IOException, ParseException {
190187
* @return {@link VersionObject}
191188
* @throws IOException
192189
* on IO error in socket
193-
* @throws ParseException
194-
* on illegal response
195190
*/
196-
public VersionObject version() throws IOException, ParseException {
191+
public VersionObject version() throws IOException {
197192
return this.syncCommand("?VERSION;", VersionObject.class);
198193
}
199194

0 commit comments

Comments
 (0)