findbugs
Method may fail to close stream on exception
I get a critical error with findbugs: The method creates an IO stream object, does not assign it to any fields, pass it to other methods, or return it, and does not appear to close it on all possibl[详细]
2022-12-27 10:21 分类:问答What bugs apply to the different FindBugs reportLevels?
According to the Ant task, the report level is a low/medium/high setting that would look for bugs of different criticallity levels.However,开发者_如何学JAVA there isn\'t anything I could find that exp[详细]
2022-12-27 01:53 分类:问答How can I generate a FindBugs report that shows me the bugs removed between two revisions in the bug database?
I am attempting to execute a combination of the FindBugs commands filterBugs and convertXmlToText, against a bug database that I created, to generate a report that shows me the all of the bugs removed[详细]
2022-12-26 16:24 分类:问答Is it possible to run FindBugs against only one Java class?
I use the FindBugs Eclipse plug-in and was wondering开发者_如何学运维 if I can simply analyze only one class rather than the entire project? I can\'t seem to figure it out. Simply right-clicking on th[详细]
2022-12-26 04:16 分类:问答FindBugs: "may fail to close stream" - is this valid in case of InputStream?
In my Java code, I start a new process, then obtain its input stream to read it: BufferedReader reader = new BufferedReader(new InputStreamReader(process.getInputStream()));[详细]
2022-12-25 18:54 分类:问答FindBugs controversial description
Am I understanding it wrong, or is the description wrong? Equals checks for noncompatible operand (EQ_CHECK_FOR_OPERAND_NOT_COMPATIBLE_WITH_THIS)[详细]
2022-12-23 22:06 分类:问答Thread Safety framework
The following class is not thread-safe (as proven in Proving the following code not thread safe ) Is there a framework out there that can help with either compile time / run time analysis and tell us[详细]
2022-12-23 01:31 分类:问答Java resource management: understanding Findbugs results
Findbugs bugs me about a method which opens two Closeable instances, but I can\'t understand why. Source[详细]
2022-12-23 01:18 分类:问答Findbugs Annotations - Do I need annotation.jar and jsr305.jar in my deployed code?
So, I would like to use the findbugs annotations to suppress warnings we deem ok code. Do we need to deploy the annotation.jar and jsr305.jar into our production runtime, or do we only need these开发[详细]
2022-12-20 06:49 分类:问答Sonar do not use the excludeFilterFile from the projects pom.xml
I have findbugs (and checkstyle) configured in my project pom.xml: <plugin> <groupId>org.codehaus.mojo</groupId>[详细]
2022-12-20 01:14 分类:问答
加载中,请稍侯......