From 1ec667cc0b0beeaaa785f2e5f046ced0afd33851 Mon Sep 17 00:00:00 2001 From: robert Date: Wed, 23 Jan 2019 14:56:26 +0000 Subject: [PATCH] Fix type mismatch on container access --- src/net/sourceforge/plantuml/project/IncompleteItem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);