mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-17 01:31:01 +00:00
Removed locak assertion - it can't no longer detect if caller has taken write lock because a088724dea switched to cacheLock that is managed by LockUtil - as startSchedulerForCacheRefresh is only called by scheduleCacheRefresh and it takes a write lock the assertion is obsolete
This commit is contained in:
1 parent
af244be34f
commit
8fe6cc7d0a
1 file changed
-1
-1
@@ -388,7 +388,6 @@ public class TrackBasedEstimationWindTrackImpl extends VirtualWindTrackImpl impl
|
||||
}
|
||||
|
||||
private void startSchedulerForCacheRefresh() {
|
||||
assertWriteLock();
|
||||
if (delayForCacheInvalidationInMilliseconds == 0) {
|
||||
invalidateCache();
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user