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
@@ -179,7 +179,8 @@ public class RaceData {
*/
private Element createCompoundMarker(Marker marker, int i) {
Element compoundMarkElement = doc.createElement("CompoundMark");
compoundMarkElement.setAttribute("CompoundMarkId", i + "");
System.out.println("CompoundMark, " + i);
compoundMarkElement.setAttribute("CompoundMarkID", i + "");
compoundMarkElement.setAttribute("Name", marker.getName());
compoundMarkElement.appendChild(createMark(marker.getMark1()));
+1 -1
View File
@@ -44,7 +44,7 @@ public class MockOutput implements Runnable
public MockOutput() throws IOException {
lastHeartbeatTime = System.currentTimeMillis();
serverSocket = new ServerSocket(4945);
serverSocket = new ServerSocket(4942);
}
/**
* calculates the time since last heartbeat