mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-09-11 22:45:06 -04:00
dictionary and deltadictionary - one cleanup and one fix where i forgot to keep a null check
This commit is contained in:
@@ -69,6 +69,13 @@ public final class deltadictionary
|
||||
return null;
|
||||
}
|
||||
|
||||
if (v.get(0) == null)
|
||||
{
|
||||
System.err.println("WARNING: deltadictionary.put passed vector with null data");
|
||||
Thread.dumpStack();
|
||||
return null;
|
||||
}
|
||||
|
||||
value = v.toArray();
|
||||
}
|
||||
return currentValue.put(key, value);
|
||||
|
||||
Reference in New Issue
Block a user