Skip to content

Commit f0f8d66

Browse files
Fixing Warnings
1 parent 2dcefb6 commit f0f8d66

File tree

3 files changed

+1
-15
lines changed

3 files changed

+1
-15
lines changed
Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,11 @@
11
package com.codingpupper3033.codebtekml.helpers.map;
22

3-
import org.w3c.dom.Element;
4-
53
/**
64
* Default placemark class.
75
* Extend this class to make specific placemarks.
86
* @author Joshua Miller
97
*/
108
public abstract class Placemark {
11-
/**
12-
* Should be overwritten
13-
* @param element the new placemark
14-
*/
15-
public Placemark(Element element) {
16-
17-
}
18-
199
/**
2010
* Gets all coordinates that this placemark uses, so we can pre-process them
2111
* @return all the Coordinates in this placemark
@@ -24,7 +14,7 @@ public Placemark(Element element) {
2414

2515
/**
2616
* Should draw the placemark into the game
27-
* @param blockName
17+
* @param blockName block to draw placemark with
2818
*/
2919
public abstract void draw(String blockName);
3020
}

src/main/java/com/codingpupper3033/codebtekml/helpers/map/placemark/LineString.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ public class LineString extends Placemark {
1616
private final Coordinate[] coordinates;
1717

1818
public LineString(Element element) {
19-
super(element);
20-
2119
coordinates = KMLParser.getElementCoordinates(element);
2220
}
2321

src/main/java/com/codingpupper3033/codebtekml/helpers/map/placemark/Point.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ public class Point extends Placemark {
1414
private final Coordinate coordinate;
1515

1616
public Point(Element element) {
17-
super(element);
18-
1917
coordinate = KMLParser.getElementCoordinates(element)[0]; // Only one coordinate as it is a point
2018
}
2119

0 commit comments

Comments
 (0)