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 );
|
addMass( clusterCM );
|
||||||
|
|
||||||
if(null != this.analysisMap) {
|
if(null != this.analysisMap) {
|
||||||
CMAnalysisEntry entry = analysisMap.get(motor.getDesignation());
|
CMAnalysisEntry entry = analysisMap.get(motor.getDesignation().hashCode());
|
||||||
if (null == entry){
|
if (null == entry){
|
||||||
entry = new CMAnalysisEntry(motor);
|
entry = new CMAnalysisEntry(motor);
|
||||||
analysisMap.put(motor.getDesignation().hashCode(), entry);
|
analysisMap.put(motor.getDesignation().hashCode(), entry);
|
||||||
|
@ -579,7 +579,7 @@ public class ComponentAnalysisDialog extends JDialog implements StateChangeListe
|
|||||||
}
|
}
|
||||||
|
|
||||||
for(final MotorConfiguration config: configuration.getActiveMotors()) {
|
for(final MotorConfiguration config: configuration.getActiveMotors()) {
|
||||||
CMAnalysisEntry cmEntry = cmMap.get(config.getMotor().getDesignation());
|
CMAnalysisEntry cmEntry = cmMap.get(config.getMotor().getDesignation().hashCode());
|
||||||
if (null == cmEntry) {
|
if (null == cmEntry) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user