mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-10 22:30:56 +00:00
use boat class display name from BoatClassMasterdata if available; needed to adjust one test case's verdict (505 --> 5O5)
This commit is contained in:
1 parent
3ae92c7afe
commit
cd2c0db907
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -276,7 +276,7 @@ public class SharedDomainFactoryImpl implements SharedDomainFactory {
|
||||
if (result == null && unifiedBoatClassName != null) {
|
||||
BoatClassMasterdata boatClassMasterdata = BoatClassMasterdata.resolveBoatClass(name);
|
||||
if (boatClassMasterdata != null) {
|
||||
result = new BoatClassImpl(name, boatClassMasterdata);
|
||||
result = new BoatClassImpl(boatClassMasterdata.getDisplayName(), boatClassMasterdata);
|
||||
boatClassCache.put(name, result);
|
||||
boatClassCache.put(unifiedBoatClassName, result);
|
||||
boatClassCache.put(boatClassMasterdata.getDisplayName(), result);
|
||||
|
||||
Reference in new issue
Block a user