dictionary and deltadictionary - one cleanup and one fix where i forgot to keep a null check

This commit is contained in:
DarthArgus
2016-04-02 04:38:27 +00:00
parent 25837f1d5f
commit 3dd231871d
2 changed files with 9 additions and 94 deletions
@@ -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);