add end() in interrupted in scaler methods and make sure constants go in the right...
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / scaler / RetractLift.java
index e160b19c39b3572f60bbc88b762b6a408eeac015..880ff503f743cbce0758f89f8338942a5f55ca2e 100755 (executable)
@@ -6,28 +6,29 @@ import edu.wpi.first.wpilibj.command.Command;
 
 public class RetractLift extends Command {
 
-       public RetractLift() {
-       }
-
-       @Override
-       protected void initialize() {
-               Robot.scaler.lowerScissorLift();
-       }
-
-       @Override
-       protected void execute() {
-       }
-
-       @Override
-       protected boolean isFinished() {
-               return true;
-       }
-
-       @Override
-       protected void end() {
-       }
-
-       @Override
-       protected void interrupted() {
-       }
+  public RetractLift() {
+  }
+
+  @Override
+  protected void initialize() {
+    Robot.scaler.lowerScissorLift();
+  }
+
+  @Override
+  protected void execute() {
+  }
+
+  @Override
+  protected boolean isFinished() {
+    return true;
+  }
+
+  @Override
+  protected void end() {
+  }
+
+  @Override
+  protected void interrupted() {
+    end();
+  }
 }