mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Remove most 2022 deprecations (#4205)
Excludes "old" commands and SimDevice functions.
This commit is contained in:
@@ -310,21 +310,6 @@ public final class TestBench {
|
||||
return encoderPortPairs;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the singleton of the TestBench. If the TestBench is not already allocated in constructs an
|
||||
* new instance of it. Otherwise it returns the existing instance.
|
||||
*
|
||||
* @return The Singleton instance of the TestBench
|
||||
* @deprecated Use the static methods instead
|
||||
*/
|
||||
@Deprecated
|
||||
public static TestBench getInstance() {
|
||||
if (instance == null) {
|
||||
instance = new TestBench();
|
||||
}
|
||||
return instance;
|
||||
}
|
||||
|
||||
/**
|
||||
* Provides access to the output stream for the test system. This should be used instead of
|
||||
* System.out This is gives us a way to implement changes to where the output text of this test
|
||||
|
||||
Reference in New Issue
Block a user