mirror of
https://github.com/octoleo/plantuml.git
synced 2024-12-22 02:49:06 +00:00
Fix type mismatch on container access
This commit is contained in:
parent
2c655a6b74
commit
1ec667cc0b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user