mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
NetworkTable.containsKey(): Always return false on empty key.
This commit is contained in:
@@ -156,7 +156,7 @@ public final class NetworkTable {
|
||||
* @return true if the table as a value assigned to the given key
|
||||
*/
|
||||
public boolean containsKey(String key) {
|
||||
return getEntry(key).exists();
|
||||
return !("".equals(key)) && getEntry(key).exists();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user