Fixed compoundMarkID typo that was causing a parse int exception

- All that was needed was capitalizing the D in ID in the parser

#story[782]
This commit is contained in:
Erika Savell
2017-05-01 20:19:07 +12:00
parent 4b485fe5ca
commit 63ee51d938
4 changed files with 5 additions and 5 deletions
@@ -161,8 +161,7 @@ public class StreamedCourseXMLReader extends XMLReader {
* @return value of "compoundMarkID" attribute
*/
private int getCompoundMarkID(Element element) {
//return Integer.parseInt(element.getAttribute("CompoundMarkID"));
return 3;
return Integer.parseInt(element.getAttribute("CompoundMarkID"));
}
/**
@@ -43,7 +43,7 @@ public class VisualiserInput implements Runnable
public VisualiserInput(StreamedCourse course) throws IOException{
this.connectionSocket = new Socket(InetAddress.getLocalHost(), 4945);
this.connectionSocket = new Socket(InetAddress.getLocalHost(), 4942);
// this.connectionSocket = new Socket("livedata.americascup.com",4941);
this.course = course;