Adds error-prone to check java code

This commit is contained in:
Jonathan Leitschuh
2016-05-12 12:24:08 -04:00
committed by Peter Johnson
parent a532518056
commit 6272244a73
7 changed files with 25 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ import edu.wpi.first.wpilibj.tables.TableKeyNotDefinedException;
* @author Mitchell
*
*/
@Deprecated
public class NetworkTableKeyNotDefined extends TableKeyNotDefinedException {
/**

View File

@@ -3,6 +3,7 @@ package edu.wpi.first.wpilibj.networktables2.type;
/**
* @deprecated Use ArrayList instead.
*/
@Deprecated
public class ArrayData {
private Object[] data = new Object[0];

View File

@@ -3,6 +3,7 @@ package edu.wpi.first.wpilibj.networktables2.type;
/**
* @deprecated Use {@literal ArrayList<Boolean>} instead.
*/
@Deprecated
public class BooleanArray extends ArrayData {
public boolean get(int index) {
return ((Boolean)getAsObject(index)).booleanValue();

View File

@@ -3,6 +3,7 @@ package edu.wpi.first.wpilibj.networktables2.type;
/**
* @deprecated Use {@literal ArrayList<Double>} instead.
*/
@Deprecated
public class NumberArray extends ArrayData {
public double get(int index) {
return ((Double)getAsObject(index)).doubleValue();

View File

@@ -3,6 +3,7 @@ package edu.wpi.first.wpilibj.networktables2.type;
/**
* @deprecated Use {@literal ArrayList<String>} instead.
*/
@Deprecated
public class StringArray extends ArrayData {
public String get(int index) {
return ((String)getAsObject(index));