Nick
15fe949b4b
Merge remote-tracking branch 'origin/master'
2015-07-04 21:16:46 +02:00
Axel Uhl
52d9dc176e
fixed comparator for mark passings structures: when mark passings for a single competitors are to be managed,
...
only the time shall be considered, and a comparison with a mark passing that has equal time shall result in 0.
Only collections with mark passings from different competitors need to resolve by competitor in case times are
equal.
2015-07-03 22:54:09 +02:00
Axel Uhl
9c49a504b4
fixing another aspects of competitor ranking comparator in case of already finisihed race for one and not yet started race for another
2015-07-03 14:37:03 +02:00
Axel Uhl
a37fd177f4
fix for bug 2976: don't compare by number of mark passings but by the index of the current leg
2015-07-03 13:50:26 +02:00
Axel Uhl
87d26c34b3
bug 3030: moved the listener notification for suppression change outside the block that is protected by the suppression write lock
2015-07-03 10:33:42 +02:00
Axel Uhl
10bb214083
fixing bug 3040 by adding null handling in TrackedLegOfCompetitorImpl.getAverageVelocityMadeGood
2015-07-02 13:57:21 +02:00
Axel Uhl
51f7facf47
removed a fefw more unnecessary NoWindException declarations
2015-07-02 10:17:19 +02:00
Axel Uhl
44ce7f4974
fixing bug 3045 by introducing null checks
2015-07-02 10:07:23 +02:00
Axel Uhl
5edd00e600
using ConcurrentHashMap for TrackedRegattaImpl.raceListeners (this was previously not thread safe); replaced wait() by RaceListener
2015-06-28 11:14:23 +02:00
Nick
b2c9a44a57
Added RaceLogEvents for End and Start of tracking. Renamed unconsistent RaceLogEvents for MarkPassing editing.
2015-06-28 09:46:21 +02:00
Axel Uhl
9d0ef2d525
another fix for total distance: don't null result when unfinished race starts after query time point
2015-06-28 00:41:12 +02:00
Nick
59301fa710
Fixed concurrency issue in CandidateFinder
2015-06-27 14:24:12 +02:00
Nick
543e53edf5
Merge remote-tracking branch 'origin/master'
2015-06-27 08:56:15 +02:00
Axel Uhl
ffa6b1f6ca
fixed Total Distance problem for races in state FINISHED
2015-06-26 23:23:16 +02:00
Nick
be73dafdf1
Merge remote-tracking branch 'origin/master'
2015-06-26 13:20:48 +02:00
Nick
cc9794655c
Merge remote-tracking branch 'origin/master'
...
Conflicts:
java/com.sap.sailing.domain/src/com/sap/sailing/domain/markpassingcalculation/MarkPassingCalculator.java
2015-06-26 10:03:15 +02:00
Nick
d06f9c3973
Edited JavaDoc of MPC
2015-06-26 09:54:29 +02:00
Axel Uhl
2eda770fae
fixing NPEs in case a handicap race has no start time yet; see bug 3021
2015-06-25 21:49:39 +02:00
Axel Uhl
676efead1f
added missing course read lock acquisition in AbstractRankingMetric; see also bug 3006 #3
2015-06-25 07:58:15 +02:00
Frederik Petersen
104ce07b59
Added PolarsChangedListener
...
registerable per boat class
2015-06-23 16:50:42 +02:00
Axel Uhl
fc5b565cfb
fixing bug 2994 by always extrapolating based on average VMG as the competitor hasn't finished the leg at the request time point
2015-06-22 20:55:21 +02:00
Axel Uhl
59fd77f276
use the refactored AbstractRaceRankComparator in AbstractRankingMetric for the getWindwardDistanceTraveledComparator implementation
2015-06-22 18:41:07 +02:00
Axel Uhl
240e393ada
making RaceRankComparator re-usable for windward distance-based ranking in handicap racing
2015-06-22 18:31:32 +02:00
Axel Uhl
fa43319bce
after-math for bug2992: also add the leaderboard groups explicitly specified for export, even if they don't belong to any event
2015-06-22 17:33:35 +02:00
Axel Uhl
3194cc663b
Merge branch 'bug2995'
2015-06-22 15:04:20 +02:00
Axel Uhl
9cd1ab8919
fix for bug 2995: require handicap functions to be serializable
2015-06-22 14:59:10 +02:00
Axel Uhl
e2831de2e1
added a failing test case for bug 2995 and prepared a solution by introducing SerializableFunction
2015-06-22 14:50:02 +02:00
Axel Uhl
405f8c4bf9
fix for bug 2992: mark all leaderboard groups transitively across all events that will be touched by master data serialization as currently under export
2015-06-22 14:16:21 +02:00
Axel Uhl
42dedcecfd
bug 2467 #19 : passing through RacingEventService as RaceLogResolver; added as transient field to TrackedRace, restored after initial load in RacingEventServiceImpl
2015-06-20 23:57:50 +02:00
Axel Uhl
d2113723a9
RacingEventServiceImpl now implements RaceLogResolver
2015-06-20 21:07:46 +02:00
Axel Uhl
a78d7cd56a
fixed isIndividualRecallDisplayed() for bug2977
2015-06-20 18:45:18 +02:00
Axel Uhl
798bb77978
fix for bug 2988: NPE in LeaderboardDTOCalculationReuseCache
2015-06-20 17:29:59 +02:00
Axel Uhl
75d4af4e55
Merge remote-tracking branch 'server/master'
2015-06-20 14:18:40 +02:00
Axel Uhl
ae27b4e3a2
fix for bug 2986: making TrackedRaceImpl.gpsFixStore transient and initialize it to EmptyGPSFixStore.INSTANCE in readObject
2015-06-20 14:15:45 +02:00
Axel Uhl
7472abbd1b
fixed bug 2981 and added test case; null wind caching was faulty
2015-06-19 16:26:02 +02:00
Axel Uhl
c76eb1f74e
Merge branch 'master' into ribdashboard
2015-06-19 02:06:30 +02:00
Axel Uhl
fe2a45ddf7
use default implementation for TrackedRace.takesWindFix, avoiding new overrides in test mocks
2015-06-19 00:55:04 +02:00
Axel Uhl
e7604d2eab
fixed the implementation of TrackedRaceImpl.takesWindFix to let previously failing test case pass
2015-06-19 00:33:43 +02:00
Axel Uhl
71432db23f
removed redundant else / if clause
2015-06-18 23:54:07 +02:00
Axel Uhl
87a9dce9dc
fixed calculation of latestEndTimePoint in TrackedRaceImpl.takesWindFix and made variables final where possible
2015-06-18 23:52:24 +02:00
Axel Uhl
b53c5ac5ad
method rename and Javadoc
2015-06-18 23:24:42 +02:00
Axel Uhl
99c02aac2c
fixed indentation
2015-06-18 23:14:37 +02:00
Axel Uhl
92191ea00e
organized import to avoid warning
2015-06-18 22:54:00 +02:00
Axel Uhl
85a0e95f0a
Merge branch 'master' into ribdashboard
2015-06-18 22:51:57 +02:00
Axel Uhl
770e23e578
Merge branch 'master' into jbross-dependent-race-start
2015-06-18 22:38:44 +02:00
Axel Uhl
535654593c
Merge branch 'master' into jbross-dependent-race-start
...
Conflicts:
java/com.sap.sailing.domain.persistence/src/com/sap/sailing/domain/persistence/impl/DomainObjectFactoryImpl.java
java/com.sap.sailing.domain.persistence/src/com/sap/sailing/domain/persistence/impl/MongoObjectFactoryImpl.java
java/com.sap.sailing.domain.test/src/com/sap/sailing/domain/test/CalculateImageSizeFromUrlTest.java
java/com.sap.sailing.server.gateway.serialization.test/src/com/sap/sailing/server/gateway/serialization/test/racelog/RaceLogEventSerializerTest.java
java/com.sap.sailing.server/src/com/sap/sailing/server/impl/RacingEventServiceImpl.java
mobile/com.sap.sailing.racecommittee.app/res/values-de/strings.xml
mobile/com.sap.sailing.racecommittee.app/res/values/strings.xml
mobile/com.sap.sailing.racecommittee.app/src/com/sap/sailing/racecommittee/app/data/DataStore.java
mobile/com.sap.sailing.racecommittee.app/src/com/sap/sailing/racecommittee/app/data/InMemoryDataStore.java
mobile/com.sap.sailing.racecommittee.app/src/com/sap/sailing/racecommittee/app/data/OfflineDataManager.java
mobile/com.sap.sailing.racecommittee.app/src/com/sap/sailing/racecommittee/app/ui/fragments/RaceFragment.java
mobile/com.sap.sailing.racecommittee.app/src/com/sap/sailing/racecommittee/app/ui/fragments/dialogs/ProtestTimeDialogFragment.java
mobile/com.sap.sailing.racecommittee.app/src/com/sap/sailing/racecommittee/app/ui/fragments/dialogs/RaceFinishingTimeDialog.java
2015-06-18 13:45:50 +02:00
Axel Uhl
2cc61f15dd
Merge branch 'master' into bug2970
2015-06-18 10:47:35 +02:00
Axel Uhl
32f44fc669
more logging in case MarkPassingCalculator thread terminates / ends
2015-06-18 01:26:50 +02:00
Axel Uhl
3c87e50919
fixing commit 2973 by adding synchronization on the competitor's candidate sets
2015-06-18 01:25:45 +02:00
Axel Uhl
3f5381ec9e
don't stop mark passing calculator only because race reaches status FINISHED. More events, e.g., form the RaceLog may be coming. Fixes bug 2974.
2015-06-18 01:20:35 +02:00