The following document contains the results of FindBugs
FindBugs Version is 3.0.1
Threshold is medium
Effort is min
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in net.sf.jguiraffe.examples.tutorial.createfile.CreateFileCommand.execute(): new java.io.FileWriter(File) | I18N | DM_DEFAULT_ENCODING | 92 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.examples.tutorial.viewset.ViewSettings.getFileDateFrom() may expose internal representation by returning ViewSettings.fileDateFrom | MALICIOUS_CODE | EI_EXPOSE_REP | 322 | Medium |
net.sf.jguiraffe.examples.tutorial.viewset.ViewSettings.getFileDateTo() may expose internal representation by returning ViewSettings.fileDateTo | MALICIOUS_CODE | EI_EXPOSE_REP | 332 | Medium |
net.sf.jguiraffe.examples.tutorial.viewset.ViewSettings.getFileTypes() may expose internal representation by returning ViewSettings.fileTypes | MALICIOUS_CODE | EI_EXPOSE_REP | 282 | Medium |
net.sf.jguiraffe.examples.tutorial.viewset.ViewSettings.setFileDateFrom(Date) may expose internal representation by storing an externally mutable object into ViewSettings.fileDateFrom | MALICIOUS_CODE | EI_EXPOSE_REP2 | 327 | Medium |
net.sf.jguiraffe.examples.tutorial.viewset.ViewSettings.setFileDateTo(Date) may expose internal representation by storing an externally mutable object into ViewSettings.fileDateTo | MALICIOUS_CODE | EI_EXPOSE_REP2 | 337 | Medium |
net.sf.jguiraffe.examples.tutorial.viewset.ViewSettings.setFileTypes(String[]) may expose internal representation by storing an externally mutable object into ViewSettings.fileTypes | MALICIOUS_CODE | EI_EXPOSE_REP2 | 287 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.examples.tutorial.viewset.ViewSettings$FileDataComparator.compare(FileData, FileData) negates the return value of java.util.Comparator.compare(Object, Object) | BAD_PRACTICE | RV_NEGATING_RESULT_OF_COMPARETO | 531 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.examples.tutorial.viewset.ViewSettings$FileDateComparator implements Comparator but not Serializable | BAD_PRACTICE | SE_COMPARATOR_SHOULD_BE_SERIALIZABLE | 444-449 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.examples.tutorial.viewset.ViewSettings$FileDirComparator implements Comparator but not Serializable | BAD_PRACTICE | SE_COMPARATOR_SHOULD_BE_SERIALIZABLE | 457-490 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.examples.tutorial.viewset.ViewSettings$FileNameComparator implements Comparator but not Serializable | BAD_PRACTICE | SE_COMPARATOR_SHOULD_BE_SERIALIZABLE | 418-423 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
net.sf.jguiraffe.examples.tutorial.viewset.ViewSettings$FileSizeComparator implements Comparator but not Serializable | BAD_PRACTICE | SE_COMPARATOR_SHOULD_BE_SERIALIZABLE | 431-436 | Medium |