Fixed spelling error getTotalImpuse() => getTotalImpulse()

This commit is contained in:
JoePfeiffer 2020-04-16 13:47:45 -06:00
parent ede47666f9
commit 839f555d55
4 changed files with 7 additions and 7 deletions

View File

@ -326,7 +326,7 @@ public class ThrustCurveMotorSet implements Comparable<ThrustCurveMotorSet> {
* Return the estimated total impulse for this motor type. * Return the estimated total impulse for this motor type.
* @return estimated total impulse * @return estimated total impulse
*/ */
public long getTotalImpuse() { public long getTotalImpulse() {
return totalImpulse; return totalImpulse;
} }
@ -423,4 +423,4 @@ public class ThrustCurveMotorSet implements Comparable<ThrustCurveMotorSet> {
} }
} }

View File

@ -32,7 +32,7 @@ public class ThrustCurveMotor implements Motor, Comparable<ThrustCurveMotor>, Se
private String digest = ""; private String digest = "";
private Manufacturer manufacturer = Manufacturer.getManufacturer("UNKNOWN"); private Manufacturer manufacturer = Manufacturer.getManufacturer("Unknown");
private String designation = ""; private String designation = "";
private String description = ""; private String description = "";
private Motor.Type type = Motor.Type.UNKNOWN; private Motor.Type type = Motor.Type.UNKNOWN;

View File

@ -229,13 +229,13 @@ public class MotorRowFilter extends RowFilter<TableModel, Integer> implements Ch
private boolean filterByImpulseClass(ThrustCurveMotorSet m) { private boolean filterByImpulseClass(ThrustCurveMotorSet m) {
if ( minimumImpulse != null ) { if ( minimumImpulse != null ) {
if( m.getTotalImpuse() <= minimumImpulse.getLow() ) { if( m.getTotalImpulse() <= minimumImpulse.getLow() ) {
return false; return false;
} }
} }
if ( maximumImpulse != null ) { if ( maximumImpulse != null ) {
if( m.getTotalImpuse() > maximumImpulse.getHigh() ) { if( m.getTotalImpulse() > maximumImpulse.getHigh() ) {
return false; return false;
} }
} }

View File

@ -46,7 +46,7 @@ enum ThrustCurveMotorColumns {
TOTAL_IMPULSE("TCurveMotorCol.TOTAL_IMPULSE") { TOTAL_IMPULSE("TCurveMotorCol.TOTAL_IMPULSE") {
@Override @Override
public Object getValue(ThrustCurveMotorSet m) { public Object getValue(ThrustCurveMotorSet m) {
return m.getTotalImpuse(); return m.getTotalImpulse();
} }
@Override @Override
@ -158,4 +158,4 @@ enum ThrustCurveMotorColumns {
return tip; return tip;
} }
} }