package org.robockets.robotswitcher;

import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;

public class Switcher {
	
	@SuppressWarnings("deprecation")
	public int getRobot(){
		int currentRobot = SmartDashboard.getInt("RobotNumber");
		return currentRobot;
	}
	
	@SuppressWarnings("deprecation")
	public void initRobotNumber(){
		SmartDashboard.putInt("RobotNumber", 0);
	}	
	
}

@@ -122,42 +122,8 @@
 %7B%0A%09%0A
-%09@SuppressWarnings(%22deprecation%22)%0A
 %09pub
@@ -162,16 +162,22 @@
 tRobot =
+ (int)
  SmartDa
@@ -187,19 +187,22 @@
 oard.get
-Int
+Number
 (%22RobotN
@@ -242,42 +242,8 @@
 %7D%0A%09%0A
-%09@SuppressWarnings(%22deprecation%22)%0A
 %09pub
@@ -294,11 +294,14 @@
 .put
-Int
+Number
 (%22Ro
@@ -322,10 +322,59 @@
 ;%0A%09%7D%09%0A%09%0A
+%09public static void main(String%5B%5D args)%7B%0A%09%09%0A%09%7D%0A%09%0A
 %7D%0A

Remove depricated methods