mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
[wpilib] Revert throw on nonexistent SimDevice name in SimDeviceSim (#5053)
This breaks current vendor use of SimDeviceSim.
This reverts commit d991f6e435 (#5041).
This commit is contained in:
@@ -25,9 +25,6 @@ public class SimDeviceSim {
|
||||
*/
|
||||
public SimDeviceSim(String name) {
|
||||
this(SimDeviceDataJNI.getSimDeviceHandle(name));
|
||||
if (m_handle == 0) {
|
||||
throw new IllegalArgumentException("No sim device exists with name '" + name + "'.");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user