View by Classes

Findings - Overview

warning Method assigns a variable in a larger scope then is needed (Findbugs)

Further info on the wiki.

THIS DETECTOR IS HIGHLY EXPERIMENTAL AND IS LIKELY TO CREATE A LOT OF FUD This method assigns a value to a variable in an outer scope compared to where the variable is actually used. Assuming this evaluation does not have side effects, the assignment can be moved into the inner scope (if block) so that its execution time isn't taken up if the if guard is false. Care should be taken however that the right hand side of the assignment does not contain side effects that are required to happen, or that changes are not made further down that will effect the execution of the assignment when done later on.

12org.jcoderz.phoenix.report.JcSummaryReportAntTask
Method org.jcoderz.phoenix.report.JcSummaryReportAntTask.createChart(String, String[], Dataset, GraphChart2DProperties, MultiColorsProperties) assigns a variable in a larger scope then is needed [734],
Method org.jcoderz.phoenix.report.JcSummaryReportAntTask.createSummary(String, File) assigns a variable in a larger scope then is needed [532],
Method org.jcoderz.phoenix.report.JcSummaryReportAntTask.createSummary(String, File) assigns a variable in a larger scope then is needed [533],
Method org.jcoderz.phoenix.report.JcSummaryReportAntTask.createSummary(String, File) assigns a variable in a larger scope then is needed [534],
Method org.jcoderz.phoenix.report.JcSummaryReportAntTask.createSummary(String, File) assigns a variable in a larger scope then is needed [535],
Method org.jcoderz.phoenix.report.JcSummaryReportAntTask.createSummary(String, File) assigns a variable in a larger scope then is needed [536],
Method org.jcoderz.phoenix.report.JcSummaryReportAntTask.createSummary(String, File) assigns a variable in a larger scope then is needed [537],
Method org.jcoderz.phoenix.report.JcSummaryReportAntTask.createSummary(String, File) assigns a variable in a larger scope then is needed [538],
Method org.jcoderz.phoenix.report.JcSummaryReportAntTask.createSummary(String, File) assigns a variable in a larger scope then is needed [539],
Method org.jcoderz.phoenix.report.JcSummaryReportAntTask.createSummary(String, File) assigns a variable in a larger scope then is needed [540],
Method org.jcoderz.phoenix.report.JcSummaryReportAntTask.createSummary(String, File) assigns a variable in a larger scope then is needed [541],
Method org.jcoderz.phoenix.report.JcSummaryReportAntTask.createSummary(String, File) assigns a variable in a larger scope then is needed [542]
4org.jcoderz.commons.logging.CollectionFormat
Method org.jcoderz.commons.logging.CollectionFormat.parseObject(String, ParsePosition) assigns a variable in a larger scope then is needed [137],
Method org.jcoderz.commons.logging.CollectionFormat.parseObject(String, ParsePosition) assigns a variable in a larger scope then is needed [138],
Method org.jcoderz.commons.logging.CollectionFormat.parseObject(String, ParsePosition) assigns a variable in a larger scope then is needed [143],
Method org.jcoderz.commons.logging.CollectionFormat.separator(CharBuffer, ParsePosition) assigns a variable in a larger scope then is needed [354]
1org.jcoderz.commons.util.BigDecimalUserTypeBase
Method org.jcoderz.commons.util.BigDecimalUserTypeBase.nullSafeGet(ResultSet, String[], Object) assigns a variable in a larger scope then is needed [63]
1org.jcoderz.commons.tracing.TracingProxy
Method org.jcoderz.commons.tracing.TracingProxy.invoke(Object, Method, Object[]) assigns a variable in a larger scope then is needed [140]
1org.jcoderz.phoenix.sqlparser.SqlParser
Method org.jcoderz.phoenix.sqlparser.SqlParser.parseOolForeignKey(String, CreateTableStatement) assigns a variable in a larger scope then is needed [1115]
1org.jcoderz.commons.util.LongUserTypeBase
Method org.jcoderz.commons.util.LongUserTypeBase.nullSafeGet(ResultSet, String[], Object) assigns a variable in a larger scope then is needed [63]
1org.jcoderz.commons.connector.http.HttpManagedConnectionImpl
Method org.jcoderz.commons.connector.http.HttpManagedConnectionImpl.configure(HttpConnectionRequestInfo) assigns a variable in a larger scope then is needed [442]
1org.jcoderz.commons.connector.file.FsConnectionImpl
Method org.jcoderz.commons.connector.file.FsConnectionImpl.crateNewFile(File) assigns a variable in a larger scope then is needed [553]
1org.jcoderz.commons.util.IntUserTypeBase
Method org.jcoderz.commons.util.IntUserTypeBase.nullSafeGet(ResultSet, String[], Object) assigns a variable in a larger scope then is needed [62]
1org.jcoderz.phoenix.report.Java2Html
Method org.jcoderz.phoenix.report.Java2Html.replaceLeadingSpaces(String) assigns a variable in a larger scope then is needed [1402]
1org.jcoderz.commons.logging.WhitespaceFormat
Method org.jcoderz.commons.logging.WhitespaceFormat$WhitespaceIterator.skip() assigns a variable in a larger scope then is needed [193]