Skip to content

Commit

Permalink
MutabilityDetector#51 - Error message improved for unwrapped Collections
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Cooper authored and Alex Cooper committed Dec 30, 2015
1 parent b6739d7 commit 699e6be
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -240,7 +240,7 @@ private boolean isConcreteType(Dotted className) {
}

private void setUnsafeWrappingResult(FieldLocation fieldLocation) {
setResult("Attempts to wrap mutable collection type using a non-whitelisted unmodifiable wrapper method.",
setResult("Field is not a wrapped collection type.",
fieldLocation, ABSTRACT_COLLECTION_TYPE_TO_FIELD);
}

Expand Down

0 comments on commit 699e6be

Please sign in to comment.