fixed bug 344 by removing old test code

This commit is contained in:
Axel Uhl committed 2012-02-28 23:04:30 +01:00
1 parent 3dfe637d9f
commit 9ba5122096
1 file changed
+2 -5
@@ -489,11 +489,8 @@ public class SailMasterConnectorImpl extends SailMasterTransceiverImpl implement
|| fixSections[fixDetailIndex].trim().length() == 0 ? null : new MeterDistance(
Double.valueOf(fixSections[fixDetailIndex]));
fixDetailIndex++;
//TODO Remove "if" after testing
if (boatID.startsWith("S") || boatID.startsWith("M") || boatID.startsWith("F") /*|| boatID.equals("GER 66") || boatID.equals("GER 72") || boatID.equals("CAN 11") || boatID.equals("CHN 221")*/) {
fixes.add(new FixImpl(boatID, trackerType, ageOfDataInMilliseconds, position, speed, nextMarkIndex,
rank, averageSpeedOverGround, velocityMadeGood, distanceToLeader, distanceToNextMark));
}
fixes.add(new FixImpl(boatID, trackerType, ageOfDataInMilliseconds, position, speed, nextMarkIndex,
rank, averageSpeedOverGround, velocityMadeGood, distanceToLeader, distanceToNextMark));
}
}
for (SailMasterListener listener : listeners) {