ename");
InputStream decoded = Base64.getDecoder().wrap(fileInputStream)) {
...
}
regards,
Rémi
- Mail original -
> De: "Rob Spoor"
> À: "core-libs-dev"
> Envoyé: Samedi 10 Août 2019 18:00:16
> Objet: RFE: annotation for resource wrapper me
Hi,
When you wrap a resource (InputStream, etc) using a class constructor
(e.g. new BufferedInputStream(...)), compilers usually don't complain.
If you do the exact same thing using a utility method, compilers aren't
that smart anymore. For instance, the following produces a warning that
the