package org.usfirst.frc.team4828;

import edu.wpi.first.wpilibj.Spark;

public class Hopper {

    private static final double AGITATOR_SPEED = 0.5;
    private static final double INTAKE_SPEED = 0.5;

    private Spark left, right, intakeMotor;

    public void Hopper(int leftPort, int rightPort){
        left = new Spark(leftPort);
        right = new Spark(rightPort);
    }

    public void stir(){
        left.set(AGITATOR_SPEED);
        right.set(AGITATOR_SPEED);
    }

    public void stopStir(){
        left.set(0);
        right.set(0);
    }

    public void intake(){
        intakeMotor.set(INTAKE_SPEED);
    }

    public void stopIntake(){
        intakeMotor.set(0);
    }

}

@@ -221,16 +221,62 @@
 left
-, right,
+Motor;%0A    private Spark rightMotor;%0A    private Spark
  int
@@ -297,21 +297,16 @@
  public 
-void 
 Hopper(i
@@ -331,16 +331,32 @@
 ightPort
+, int intakePort
 )%7B%0A     
@@ -362,16 +362,21 @@
     left
+Motor
  = new S
@@ -404,16 +404,21 @@
    right
+Motor
  = new S
@@ -430,24 +430,69 @@
 rightPort);%0A
+        intakeMotor = new Spark(intakePort);%0A
     %7D%0A%0A    p
@@ -518,24 +518,29 @@
         left
+Motor
 .set(AGITATO
@@ -558,24 +558,29 @@
        right
+Motor
 .set(AGITATO
@@ -636,16 +636,21 @@
     left
+Motor
 .set(0);
@@ -663,16 +663,21 @@
    right
+Motor
 .set(0);

fix codestyle and naming