Improve error message for unwrapped Collections #51
Currently the error message for a Class having a collection as a field which is initialized in constructor is: "Attempts to wrap mutable collection type using a non-whitelisted unmodifiable wrapper method". This is misleading, since in this case nothing is getting wrapped at all.
The goal of this issue is to improve this error message to something like "Not wrapped collection type". This mutability reason is detected by MutableTypeToFieldChecker.
Here a test which asserts the current error message
The text was updated successfully, but these errors were encountered: