Merge pull request #691 from teyrana/fix/doc
[fix] made string -> hashcode conversion explicit, to placate IDE warnings
This commit is contained in:
commit
123732a878
@ -239,7 +239,7 @@ public class MassCalculation {
|
||||
addMass( clusterCM );
|
||||
|
||||
if(null != this.analysisMap) {
|
||||
CMAnalysisEntry entry = analysisMap.get(motor.getDesignation());
|
||||
CMAnalysisEntry entry = analysisMap.get(motor.getDesignation().hashCode());
|
||||
if (null == entry){
|
||||
entry = new CMAnalysisEntry(motor);
|
||||
analysisMap.put(motor.getDesignation().hashCode(), entry);
|
||||
|
@ -579,7 +579,7 @@ public class ComponentAnalysisDialog extends JDialog implements StateChangeListe
|
||||
}
|
||||
|
||||
for(final MotorConfiguration config: configuration.getActiveMotors()) {
|
||||
CMAnalysisEntry cmEntry = cmMap.get(config.getMotor().getDesignation());
|
||||
CMAnalysisEntry cmEntry = cmMap.get(config.getMotor().getDesignation().hashCode());
|
||||
if (null == cmEntry) {
|
||||
continue;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user