Code cleanup.

This commit is contained in:
Dennis Guse
2021-04-10 18:00:13 +02:00
parent f0341e831f
commit 2b5744ccc1
4 changed files with 7 additions and 4 deletions
@@ -98,7 +98,7 @@ public class GpxFileTrackImporter extends AbstractFileTrackImporter {
}
@Override
public void endElement(String uri, String localName, String tag) throws SAXException {
public void endElement(String uri, String localName, String tag) {
switch (tag) {
case TAG_GPX:
onFileEnd();
@@ -195,7 +195,7 @@ public class KmlFileTrackImporter extends AbstractFileTrackImporter {
markerType = null;
}
private void onMarkerEnd() throws SAXException {
private void onMarkerEnd() {
if (!MARKER_STYLE.equals(markerType)) {
return;
}
@@ -262,7 +262,7 @@ public class KmlFileTrackImporter extends AbstractFileTrackImporter {
/**
* On track point end. gx:coord end tag.
*/
private void onTrackPointEnd() throws SAXException {
private void onTrackPointEnd() {
// Add trackPoint to trackPoints
if (content == null) {
return;