The following document contains the results of FindBugs
FindBugs Version is 3.0.1
Threshold is medium
Effort is max
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in com.helger.jcodemodel.AbstractCodeWriter.openSource(JPackage, String): new java.io.OutputStreamWriter(OutputStream) | I18N | DM_DEFAULT_ENCODING | 193 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Should com.helger.jcodemodel.AbstractJAnnotationValueOwned$FullClassNameExpr be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 76-83 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Method com.helger.jcodemodel.AbstractJClassContainer.name() overrides the return value nullness annotation in an incompatible way. | STYLE | NP_METHOD_RETURN_RELAXING_ANNOTATION | 159 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class com.helger.jcodemodel.JDocComment defines non-transient non-serializable instance field m_aAtThrows | BAD_PRACTICE | SE_BAD_FIELD | Not available | Medium |
Class com.helger.jcodemodel.JDocComment defines non-transient non-serializable instance field m_aOwner | BAD_PRACTICE | SE_BAD_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Method com.helger.jcodemodel.JErrorClass.name() overrides the return value nullness annotation in an incompatible way. | STYLE | NP_METHOD_RETURN_RELAXING_ANNOTATION | 93 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
com.helger.jcodemodel.JFieldVar doesn't override JVar.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 1 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Switch statement found in com.helger.jcodemodel.JFormatter.id(String) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 670-685 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
aClass must be non-null but is marked as nullable | STYLE | NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE | 277-279 | High |
Should com.helger.jcodemodel.JFormatter$ImportedClasses be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 228-293 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
com.helger.jcodemodel.JPackage defines compareTo(JPackage) and uses Object.equals() | BAD_PRACTICE | EQ_COMPARETO_USE_OBJECT_EQUALS | 242 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in com.helger.jcodemodel.fmt.JStaticJavaFile.build(OutputStream): new java.io.InputStreamReader(InputStream) | I18N | DM_DEFAULT_ENCODING | 137 | High |
Found reliance on default encoding in com.helger.jcodemodel.fmt.JStaticJavaFile.build(OutputStream): new java.io.OutputStreamWriter(OutputStream) | I18N | DM_DEFAULT_ENCODING | 138 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in com.helger.jcodemodel.fmt.JTextFile.build(OutputStream): new java.io.OutputStreamWriter(OutputStream) | I18N | DM_DEFAULT_ENCODING | 83 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exceptional return value of java.io.File.setReadOnly() ignored in com.helger.jcodemodel.writer.FileCodeWriter.close() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 154 | Medium |
Exceptional return value of java.io.File.mkdirs() ignored in com.helger.jcodemodel.writer.FileCodeWriter.getFile(JPackage, String) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 134 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in new com.helger.jcodemodel.writer.OutputStreamCodeWriter(OutputStream, Charset, String): new java.io.PrintStream(OutputStream, boolean) | I18N | DM_DEFAULT_ENCODING | 94 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in new com.helger.jcodemodel.writer.SingleStreamCodeWriter(OutputStream, String): new java.io.PrintStream(OutputStream) | I18N | DM_DEFAULT_ENCODING | 88 | High |