mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-20 19:20:04 +00:00
adjusted polar import test to use the binary file; removed extra JSON polar serialization stuff and reverted data mining methods to proteted again where possible
Change-Id: Iab3ad4f55e307d2a89b1deccc1fd17448c54cbba
This commit is contained in:
1 parent
5286d6c628
commit
d4db2c19fc
15 files changed
+32
-240
No files matched your search
-43
@@ -1,7 +1,5 @@
|
||||
package com.sap.sailing.domain.base.impl;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
import com.sap.sailing.domain.base.BoatClass;
|
||||
import com.sap.sailing.domain.base.SharedDomainFactory;
|
||||
import com.sap.sailing.domain.common.BoatClassMasterdata;
|
||||
@@ -142,45 +140,4 @@ public class BoatClassImpl extends NamedImpl implements BoatClass {
|
||||
public BoatHullType getHullType() {
|
||||
return hullType;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(getName(), approximateManeuverDurationInMilliseconds, displayName, hullBeam, hullLength,
|
||||
hullType, typicallyStartsUpwind);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object object) {
|
||||
if (object == this)
|
||||
return true;
|
||||
|
||||
if (!(object instanceof BoatClassImpl))
|
||||
return false;
|
||||
|
||||
BoatClassImpl other = (BoatClassImpl) object;
|
||||
|
||||
if (!Objects.equals(this.getName(), other.getName()))
|
||||
return false;
|
||||
|
||||
if (!Objects.equals(this.approximateManeuverDurationInMilliseconds,
|
||||
other.approximateManeuverDurationInMilliseconds))
|
||||
return false;
|
||||
|
||||
if (!Objects.equals(this.displayName, other.displayName))
|
||||
return false;
|
||||
|
||||
if (!Objects.equals(this.hullBeam, other.hullBeam))
|
||||
return false;
|
||||
|
||||
if (!Objects.equals(this.hullLength, other.hullLength))
|
||||
return false;
|
||||
|
||||
if (!Objects.equals(this.hullType, other.hullType))
|
||||
return false;
|
||||
|
||||
if (!Objects.equals(this.typicallyStartsUpwind, other.typicallyStartsUpwind))
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user