diff --git a/src/net/sourceforge/plantuml/project/IncompleteItem.java b/src/net/sourceforge/plantuml/project/IncompleteItem.java index 80e821281..da71ea51b 100644 --- a/src/net/sourceforge/plantuml/project/IncompleteItem.java +++ b/src/net/sourceforge/plantuml/project/IncompleteItem.java @@ -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);