1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-12-22 10:59:01 +00:00

Fix type mismatch on container access

This commit is contained in:
robert 2019-01-23 14:56:26 +00:00
parent 2c655a6b74
commit 1ec667cc0b

View File

@ -60,7 +60,7 @@ class IncompleteItem implements Item {
if (caract.getNumericType() != value.getNumericType()) {
throw new IllegalArgumentException();
}
if (data.containsKey(caract.getNumericType())) {
if (data.containsKey(caract)) {
throw new IllegalStateException();
}
data.put(caract, value);