General code tidy up (Visualiser)
- access modifiers adjusted - unused declarations removed - spelling fixes - removed redundant code
This commit is contained in:
@@ -9,7 +9,6 @@ import seng302.XMLReader;
|
||||
import javax.xml.parsers.ParserConfigurationException;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.text.ParseException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
@@ -28,7 +27,6 @@ public class BoatXMLReader extends XMLReader {
|
||||
* @throws IOException error
|
||||
* @throws SAXException error
|
||||
* @throws ParserConfigurationException error
|
||||
* @throws ParseException error
|
||||
*/
|
||||
public BoatXMLReader(String filePath) throws IOException, SAXException, ParserConfigurationException {
|
||||
this(filePath, true);
|
||||
@@ -41,7 +39,6 @@ public class BoatXMLReader extends XMLReader {
|
||||
* @throws IOException error
|
||||
* @throws SAXException error
|
||||
* @throws ParserConfigurationException error
|
||||
* @throws ParseException error
|
||||
*/
|
||||
public BoatXMLReader(String filePath, boolean read) throws IOException, SAXException, ParserConfigurationException {
|
||||
super(filePath);
|
||||
|
||||
@@ -81,7 +81,6 @@ public class StreamedCourseXMLReader extends XMLReader {
|
||||
|
||||
/**
|
||||
* reads
|
||||
* @throws ParseException error
|
||||
* @throws StreamedCourseXMLException error
|
||||
*/
|
||||
private void read() throws StreamedCourseXMLException {
|
||||
@@ -92,7 +91,6 @@ public class StreamedCourseXMLReader extends XMLReader {
|
||||
|
||||
/**
|
||||
* reads a race
|
||||
* @throws ParseException error
|
||||
*/
|
||||
private void readRace() {
|
||||
DateTimeFormatter dateFormat = DateTimeFormatter.ISO_OFFSET_DATE_TIME;
|
||||
|
||||
@@ -81,7 +81,6 @@ public class Boat {
|
||||
/**
|
||||
* Adds a new point to boat's track.
|
||||
* @param coordinate of point on track
|
||||
* @return whether add is successful
|
||||
* @see seng302.Model.TrackPoint
|
||||
*/
|
||||
public void addTrackPoint(GPSCoordinate coordinate) {
|
||||
|
||||
@@ -285,7 +285,6 @@ public class BoatInRace extends Boat {
|
||||
/**
|
||||
* Adds a new point to boat's track.
|
||||
* @param coordinate of point on track
|
||||
* @return whether add is successful
|
||||
* @see seng302.Model.TrackPoint
|
||||
*/
|
||||
public void addTrackPoint(GPSCoordinate coordinate) {
|
||||
|
||||
Reference in New Issue
Block a user