View by Classes

Findings - Overview

info method makes literal string comparisons passing the literal as an argument (Findbugs)

Further info on the wiki.

This method calls the equals or compareTo methods on a String variable passing in a String literal. A NullPointerException may occur if the string variable is null. If instead the method was called on the string literal, and the variable was passed as an argument, this exception could never happen.

15org.jcoderz.phoenix.report.ReportNormalizer
method org.jcoderz.phoenix.report.ReportNormalizer.parseArguments(String[]) makes literal string comparisons passing the literal as an argument [330],
method org.jcoderz.phoenix.report.ReportNormalizer.parseArguments(String[]) makes literal string comparisons passing the literal as an argument [334],
method org.jcoderz.phoenix.report.ReportNormalizer.parseArguments(String[]) makes literal string comparisons passing the literal as an argument [338],
method org.jcoderz.phoenix.report.ReportNormalizer.parseArguments(String[]) makes literal string comparisons passing the literal as an argument [342],
method org.jcoderz.phoenix.report.ReportNormalizer.parseArguments(String[]) makes literal string comparisons passing the literal as an argument [346],
method org.jcoderz.phoenix.report.ReportNormalizer.parseArguments(String[]) makes literal string comparisons passing the literal as an argument [350],
method org.jcoderz.phoenix.report.ReportNormalizer.parseArguments(String[]) makes literal string comparisons passing the literal as an argument [354],
method org.jcoderz.phoenix.report.ReportNormalizer.parseArguments(String[]) makes literal string comparisons passing the literal as an argument [358],
method org.jcoderz.phoenix.report.ReportNormalizer.parseArguments(String[]) makes literal string comparisons passing the literal as an argument [362],
method org.jcoderz.phoenix.report.ReportNormalizer.parseArguments(String[]) makes literal string comparisons passing the literal as an argument [366],
method org.jcoderz.phoenix.report.ReportNormalizer.parseArguments(String[]) makes literal string comparisons passing the literal as an argument [370],
method org.jcoderz.phoenix.report.ReportNormalizer.parseArguments(String[]) makes literal string comparisons passing the literal as an argument [374],
method org.jcoderz.phoenix.report.ReportNormalizer.parseArguments(String[]) makes literal string comparisons passing the literal as an argument [378],
method org.jcoderz.phoenix.report.ReportNormalizer.parseArguments(String[]) makes literal string comparisons passing the literal as an argument [382],
method org.jcoderz.phoenix.report.ReportNormalizer.parseArguments(String[]) makes literal string comparisons passing the literal as an argument [386]
7org.jcoderz.phoenix.cmpgen2.CmpGenerator
method org.jcoderz.phoenix.cmpgen2.CmpGenerator.buildHelperImportList(CreateTableStatement) makes literal string comparisons passing the literal as an argument [547],
method org.jcoderz.phoenix.cmpgen2.CmpGenerator.main(String[]) makes literal string comparisons passing the literal as an argument [146],
method org.jcoderz.phoenix.cmpgen2.CmpGenerator.main(String[]) makes literal string comparisons passing the literal as an argument [150],
method org.jcoderz.phoenix.cmpgen2.CmpGenerator.main(String[]) makes literal string comparisons passing the literal as an argument [154],
method org.jcoderz.phoenix.cmpgen2.CmpGenerator.main(String[]) makes literal string comparisons passing the literal as an argument [158],
method org.jcoderz.phoenix.cmpgen2.CmpGenerator.main(String[]) makes literal string comparisons passing the literal as an argument [162],
method org.jcoderz.phoenix.cmpgen2.CmpGenerator.main(String[]) makes literal string comparisons passing the literal as an argument [166]
6org.jcoderz.phoenix.sqlparser.SqlTransformer
method org.jcoderz.phoenix.sqlparser.SqlTransformer.parseCommandLine(String[]) makes literal string comparisons passing the literal as an argument [463],
method org.jcoderz.phoenix.sqlparser.SqlTransformer.parseCommandLine(String[]) makes literal string comparisons passing the literal as an argument [468],
method org.jcoderz.phoenix.sqlparser.SqlTransformer.parseCommandLine(String[]) makes literal string comparisons passing the literal as an argument [473],
method org.jcoderz.phoenix.sqlparser.SqlTransformer.parseCommandLine(String[]) makes literal string comparisons passing the literal as an argument [478],
method org.jcoderz.phoenix.sqlparser.SqlTransformer.parseCommandLine(String[]) makes literal string comparisons passing the literal as an argument [483],
method org.jcoderz.phoenix.sqlparser.SqlTransformer.parseCommandLine(String[]) makes literal string comparisons passing the literal as an argument [487]
5org.jcoderz.commons.connector.http.transport.ClientHandler
method org.jcoderz.commons.connector.http.transport.ClientHandler.checkSpecialParameter() makes literal string comparisons passing the literal as an argument (test code) [362],
method org.jcoderz.commons.connector.http.transport.ClientHandler.checkSpecialParameter() makes literal string comparisons passing the literal as an argument (test code) [373],
method org.jcoderz.commons.connector.http.transport.ClientHandler.checkSpecialParameter() makes literal string comparisons passing the literal as an argument (test code) [384],
method org.jcoderz.commons.connector.http.transport.ClientHandler.checkSpecialParameter() makes literal string comparisons passing the literal as an argument (test code) [395],
method org.jcoderz.commons.connector.http.transport.ClientHandler.getEncoding() makes literal string comparisons passing the literal as an argument (test code) [637]
5org.jcoderz.phoenix.jcoverage.Instrumenter
method org.jcoderz.phoenix.jcoverage.Instrumenter.findClassPath(File, List) makes literal string comparisons passing the literal as an argument [322],
method org.jcoderz.phoenix.jcoverage.Instrumenter.parseArguments(String[]) makes literal string comparisons passing the literal as an argument [96],
method org.jcoderz.phoenix.jcoverage.Instrumenter.parseArguments(String[]) makes literal string comparisons passing the literal as an argument [100],
method org.jcoderz.phoenix.jcoverage.Instrumenter.parseArguments(String[]) makes literal string comparisons passing the literal as an argument [104],
method org.jcoderz.phoenix.jcoverage.Instrumenter.parseArguments(String[]) makes literal string comparisons passing the literal as an argument [108]
5org.jcoderz.commons.util.DbUtilTest
method org.jcoderz.commons.util.DbUtilTest$PreparedStatementHandler.invoke(Object, Method, Object[]) makes literal string comparisons passing the literal as an argument (test code) [280],
method org.jcoderz.commons.util.DbUtilTest$PreparedStatementHandler.invoke(Object, Method, Object[]) makes literal string comparisons passing the literal as an argument (test code) [285],
method org.jcoderz.commons.util.DbUtilTest$PreparedStatementHandler.invoke(Object, Method, Object[]) makes literal string comparisons passing the literal as an argument (test code) [293],
method org.jcoderz.commons.util.DbUtilTest$TestInvocationHandler.invoke(Object, Method, Object[]) makes literal string comparisons passing the literal as an argument (test code) [237],
method org.jcoderz.commons.util.DbUtilTest$TestInvocationHandler.invoke(Object, Method, Object[]) makes literal string comparisons passing the literal as an argument (test code) [241]
4org.jcoderz.commons.connector.http.transport.HttpClientConnectionImpl
method org.jcoderz.commons.connector.http.transport.HttpClientConnectionImpl.establishConnection(String, int, int) makes literal string comparisons passing the literal as an argument [157],
method org.jcoderz.commons.connector.http.transport.HttpClientConnectionImpl.handleIOExceptionWhilstExecute(IOException) makes literal string comparisons passing the literal as an argument [329],
method org.jcoderz.commons.connector.http.transport.HttpClientConnectionImpl.setRequestHeader() makes literal string comparisons passing the literal as an argument [489],
method org.jcoderz.commons.connector.http.transport.HttpClientConnectionImpl.setRequestHeader() makes literal string comparisons passing the literal as an argument [493]
4org.jcoderz.phoenix.templategen.TemplateDescr
method org.jcoderz.phoenix.templategen.TemplateDescr$1.endElement(String, String, String) makes literal string comparisons passing the literal as an argument [153],
method org.jcoderz.phoenix.templategen.TemplateDescr$1.endElement(String, String, String) makes literal string comparisons passing the literal as an argument [161],
method org.jcoderz.phoenix.templategen.TemplateDescr$1.endElement(String, String, String) makes literal string comparisons passing the literal as an argument [178],
method org.jcoderz.phoenix.templategen.TemplateDescr$1.endElement(String, String, String) makes literal string comparisons passing the literal as an argument [183]
4org.jcoderz.phoenix.report.JDepend
method org.jcoderz.phoenix.report.JDepend.parseArgs(String[]) makes literal string comparisons passing the literal as an argument [89],
method org.jcoderz.phoenix.report.JDepend.parseArgs(String[]) makes literal string comparisons passing the literal as an argument [93],
method org.jcoderz.phoenix.report.JDepend.parseArgs(String[]) makes literal string comparisons passing the literal as an argument [102],
method org.jcoderz.phoenix.report.JDepend.parseArgs(String[]) makes literal string comparisons passing the literal as an argument [106]
3org.jcoderz.testdata.Importer
method org.jcoderz.testdata.Importer.generateQueries(List, Map, List, Set, List, Properties, boolean) makes literal string comparisons passing the literal as an argument [344],
method org.jcoderz.testdata.Importer.generateQueries(List, Map, List, Set, List, Properties, boolean) makes literal string comparisons passing the literal as an argument [349],
method org.jcoderz.testdata.Importer.generateQueries(List, Map, List, Set, List, Properties, boolean) makes literal string comparisons passing the literal as an argument [352]
3org.jcoderz.commons.logging.ParameterLineFormat
method org.jcoderz.commons.logging.ParameterLineFormat.parse(StringBuffer, LogFileEntry) makes literal string comparisons passing the literal as an argument [201],
method org.jcoderz.commons.logging.ParameterLineFormat.parse(StringBuffer, LogFileEntry) makes literal string comparisons passing the literal as an argument [208],
method org.jcoderz.commons.logging.ParameterLineFormat.parse(StringBuffer, LogFileEntry) makes literal string comparisons passing the literal as an argument [214]
2org.jcoderz.commons.taskdefs.Formatter
method org.jcoderz.commons.taskdefs.Formatter.getInstance(XtremeDocs$FormatterInfoData) makes literal string comparisons passing the literal as an argument [69],
method org.jcoderz.commons.taskdefs.Formatter.getInstance(XtremeDocs$FormatterInfoData) makes literal string comparisons passing the literal as an argument [73]
2org.jcoderz.commons.doclet.XmlDoclet
method org.jcoderz.commons.doclet.XmlDoclet.generateDocBody(Doc) makes literal string comparisons passing the literal as an argument [589],
method org.jcoderz.commons.doclet.XmlDoclet.generateMethodBody(MethodDoc) makes literal string comparisons passing the literal as an argument [350]
2org.jcoderz.commons.taskdefs.LuntBuildTask
method org.jcoderz.commons.taskdefs.LuntBuildTask.execute() makes literal string comparisons passing the literal as an argument [202],
method org.jcoderz.commons.taskdefs.LuntBuildTask.execute() makes literal string comparisons passing the literal as an argument [206]
2org.jcoderz.phoenix.templategen.TemplateGeneratorServlet
method org.jcoderz.phoenix.templategen.TemplateGeneratorServlet.doService(HttpServletRequest, HttpServletResponse) makes literal string comparisons passing the literal as an argument [92],
method org.jcoderz.phoenix.templategen.TemplateGeneratorServlet.doService(HttpServletRequest, HttpServletResponse) makes literal string comparisons passing the literal as an argument [97]
2org.jcoderz.commons.taskdefs.XtremeDocs
method org.jcoderz.commons.taskdefs.XtremeDocs.isOutputEnabled(String) makes literal string comparisons passing the literal as an argument [474],
method org.jcoderz.commons.taskdefs.XtremeDocs.isOutputEnabled(String) makes literal string comparisons passing the literal as an argument [479]
2org.jcoderz.phoenix.sqlparser.SqlToXml
method org.jcoderz.phoenix.sqlparser.SqlToXml.main(String[]) makes literal string comparisons passing the literal as an argument [218],
method org.jcoderz.phoenix.sqlparser.SqlToXml.main(String[]) makes literal string comparisons passing the literal as an argument [222]
2org.jcoderz.phoenix.sqlparser.SqlParser
method org.jcoderz.phoenix.sqlparser.SqlParser.parseColumnSpec(CreateTableStatement) makes literal string comparisons passing the literal as an argument [574],
method org.jcoderz.phoenix.sqlparser.SqlParser.parseColumnSpec(CreateTableStatement) makes literal string comparisons passing the literal as an argument [579]
2org.jcoderz.phoenix.report.samples.SimplePmdFindings
method org.jcoderz.phoenix.report.samples.SimplePmdFindings.sampleMethod() makes literal string comparisons passing the literal as an argument (sample) [73],
method org.jcoderz.phoenix.report.samples.SimplePmdFindings.sampleMethod() makes literal string comparisons passing the literal as an argument (sample) [91]
1org.jcoderz.commons.connector.http.HttpManagedConnectionImpl
method org.jcoderz.commons.connector.http.HttpManagedConnectionImpl.isCloseConnectionRequired() makes literal string comparisons passing the literal as an argument [759]
1org.jcoderz.guidelines.JavaCodeSnippets
method org.jcoderz.guidelines.JavaCodeSnippets$2.accept(File, String) makes literal string comparisons passing the literal as an argument [198]
1org.jcoderz.commons.connector.file.FsConnectionUtil
method org.jcoderz.commons.connector.file.FsConnectionUtil.getConfigProperties() makes literal string comparisons passing the literal as an argument [190]
1org.jcoderz.commons.config.ConfigurationServiceCommonImpl
method org.jcoderz.commons.config.ConfigurationServiceCommonImpl.getBoolean(ConfigurationKey) makes literal string comparisons passing the literal as an argument [87]
1org.jcoderz.phoenix.chart2d.Chart2DParser
method org.jcoderz.phoenix.chart2d.Chart2DParser$MyResolver.resolveEntity(String, String) makes literal string comparisons passing the literal as an argument [475]
1org.jcoderz.commons.util.ThrowableUtil
method org.jcoderz.commons.util.ThrowableUtil.findGetCauseMethod(Method[]) makes literal string comparisons passing the literal as an argument [301]
1org.jcoderz.commons.TestCase
method org.jcoderz.commons.TestCase.hasTestCases() makes literal string comparisons passing the literal as an argument (test code) [131]
1org.jcoderz.phoenix.templategen.TemplateGenerator
method org.jcoderz.phoenix.templategen.TemplateGenerator.getJcoderzHeader(String) makes literal string comparisons passing the literal as an argument [120]
1org.jcoderz.phoenix.templategen.TemplateZip
method org.jcoderz.phoenix.templategen.TemplateZip.readTemplateFile() makes literal string comparisons passing the literal as an argument [102]
1org.jcoderz.phoenix.dbview.DbView
method org.jcoderz.phoenix.dbview.DbView.parseArguments(String[]) makes literal string comparisons passing the literal as an argument [221]
1org.jcoderz.phoenix.chart2d.Chart2DHandlerImpl
method org.jcoderz.phoenix.chart2d.Chart2DHandlerImpl.main(String[]) makes literal string comparisons passing the literal as an argument [259]
1org.jcoderz.commons.util.JarUtils
method org.jcoderz.commons.util.JarUtils.addFileToJar(File, File, JarOutputStream) makes literal string comparisons passing the literal as an argument [159]