Moderately streamline imports of constants
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / intakearm / MoveIntakeArm.java
index 1991726ac0430491e27144202c7e544599ab4f7c..b90b83e0723621f717eb8a84dc64f33e7043440a 100755 (executable)
@@ -1,6 +1,6 @@
 package org.usfirst.frc.team3501.robot.commands.intakearm;
 
-import org.usfirst.frc.team3501.robot.Constants;
+import org.usfirst.frc.team3501.robot.Constants.IntakeArm;
 import org.usfirst.frc.team3501.robot.Robot;
 
 import edu.wpi.first.wpilibj.DoubleSolenoid.Value;
@@ -20,7 +20,7 @@ public class MoveIntakeArm extends Command {
 
   @Override
   protected void initialize() {
-    if (direction == Constants.IntakeArm.EXTEND)
+    if (direction == IntakeArm.EXTEND)
       Robot.intakeArm.extendPistons();
     else
       Robot.intakeArm.retractPistons();