Merge branch 'master' into bug1455

This commit is contained in:
Axel Uhl committed 2013-06-24 07:12:43 +02:00
commit 5827d284f3
8 files changed
+15 -1

No files matched your search

@@ -0,0 +1,12 @@
package com.sap.sailing.domain.common.test;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
public class DoubleCoercionTest {
@Test
public void testLongTimesDoubleCoercion() {
assertEquals(12l, (long) (15l * 0.5 + 0.5 * 10l));
}
}
@@ -1318,7 +1318,9 @@ public class SailingServiceImpl extends ProxiedRemoteServiceServlet implements S
trackedRace.getRace().getCourse().unlockAfterRead();
}
}
raceTimesInfo.currentServerTime = new Date();
if (raceTimesInfo != null) {
raceTimesInfo.currentServerTime = new Date();
}
return raceTimesInfo;
}
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
Binary file not shown.
View File
File mode changed.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB