Hello,
Java Plugin 4.2 reports a False Positive for SQUID:S2095
(https://sonarqube.com/coding_rules#rule_key=squid%3AS2095) on
code which creates a Reader, which takes an InputStream as
constructor argument. The reader is closed in finally block. I
know that SonarQube (probably) does not recognize custom close
methods, but I remember there was a topic about add them. What is
the status?

Regards,
Adam Gabryś
Being able to specify that a method closes a resource would be really convenient for our code base as well, we use a similar pattern for closing JDBC Connections.
--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/8728b7a4-0996-4319-a3f9-ba12602ed4d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.