NetworkTable.containsKey(): Always return false on empty key.

This commit is contained in:
Peter Johnson
2017-10-05 23:11:56 -07:00
parent 8a37b81f4e
commit a6c1e18aef
2 changed files with 2 additions and 2 deletions

View File

@@ -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();
}
/**