Skip to content

Commit

Permalink
style: missing space in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdibi committed Jan 11, 2024
1 parent db9add1 commit ec8a869
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public <T> T get(Class<T> clazz, String key, Object... args) {
}

if (!clazz.isAssignableFrom(rawValue.getClass())) {
// Criteria: there's no such element in the map that matches the requested type(clazz)
// Criteria: there's no such element in the map that matches the requested type (clazz)
throw new NoSuchElementException(
String.format("The \"%s\" key contains a value of type \"%s\" (requested type: \"%s\").",
formattedKey, rawValue.getClass().getName(), clazz.getName()));
Expand Down

0 comments on commit ec8a869

Please sign in to comment.