That way, classe users will be warned by the IDE that they should use a try-with-resources when acquiring a Reader.
For the sake of completeness here, Java compiler will warn about it, but that warning is disabled by default.
That way, classe users will be warned by the IDE that they should use a try-with-resources when acquiring a Reader.
For the sake of completeness here, Java compiler will warn about it, but that warning is disabled by default.