mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-06 12:23:55 +00:00
Merge branch 'master' into bug1455
This commit is contained in:
commit
5827d284f3
8 files changed
+15
-1
No files matched your search
Executable
+12
@@ -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));
|
||||
}
|
||||
}
|
||||
+3
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Executable → Regular
File mode changed.
Executable → Regular
File mode changed.
File mode changed.
Executable → Regular
File mode changed.
Executable → Regular
BIN
Binary file not shown.
Executable → Regular
File mode changed.
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB |
Reference in new issue
Block a user