mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-30 09:26:44 +00:00
successful test of most raw parsed Kieler Woche result list attributes
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ public class RaceImpl extends AbstractNodeWrapper implements Race {
|
||||
|
||||
@Override
|
||||
public Double getPoints() {
|
||||
return Double.valueOf(getNode().getAttributes().getNamedItem("points").getNodeValue());
|
||||
return Double.valueOf(getNode().getAttributes().getNamedItem("points").getNodeValue().replace(',', '.'));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ public class RacesImpl extends AbstractNodeWrapper implements Races {
|
||||
|
||||
@Override
|
||||
public Double getTotalPoints() {
|
||||
return Double.valueOf(getNode().getAttributes().getNamedItem("totalpoints").getNodeValue());
|
||||
return Double.valueOf(getNode().getAttributes().getNamedItem("totalpoints").getNodeValue().replace(',', '.'));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user