The following document contains the results of FindBugs Report
FindBugs Version is 1.0.0
Threshold is Low
Effort is Default
Bug | Category | Details | Line |
---|---|---|---|
Call to swing method in org.mlc.swing.example.CustomerPanel.main(String[]) needs to be performed in Swing event thread | CORRECTNESS | SW_SWING_METHODS_INVOKED_IN_SWING_THREAD | 121 |
Bug | Category | Details | Line |
---|---|---|---|
Call to swing method in org.mlc.swing.example.ExamplePanel.main(String[]) needs to be performed in Swing event thread | CORRECTNESS | SW_SWING_METHODS_INVOKED_IN_SWING_THREAD | 56 |
Bug | Category | Details | Line |
---|---|---|---|
Class org.mlc.swing.layout.FormEditor defines non-transient non-serializable instance field org.mlc.swing.layout.FormEditor.colSpinnerModel | CORRECTNESS | SE_BAD_FIELD | Not available |
Class org.mlc.swing.layout.FormEditor defines non-transient non-serializable instance field org.mlc.swing.layout.FormEditor.rowSpinnerModel | CORRECTNESS | SE_BAD_FIELD | Not available |
Class org.mlc.swing.layout.FormEditor defines non-transient non-serializable instance field org.mlc.swing.layout.FormEditor.layoutConstraintsManager | CORRECTNESS | SE_BAD_FIELD | Not available |
Class org.mlc.swing.layout.FormEditor defines non-transient non-serializable instance field org.mlc.swing.layout.FormEditor.containerLayout | CORRECTNESS | SE_BAD_FIELD | Not available |
Unchecked/unconfirmed cast from java.awt.Container to class javax.swing.JViewport in org.mlc.swing.layout.FormEditor.setSelectedCell(int,int,boolean) | STYLE | BC_UNCONFIRMED_CAST | 553 |
Bug | Category | Details | Line |
---|---|---|---|
org.mlc.swing.layout.FormEditor$GridTableModel is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
Bug | Category | Details | Line |
---|---|---|---|
Method org.mlc.swing.layout.LayoutConstraintsManager.getXML() invokes dubious String.toUpperCase() or String.toLowerCase; use the Locale parameterized version instead | I18N | DM_CONVERT_CASE | 297 |
Dead store to controller in method org.mlc.swing.layout.LayoutConstraintsManager.getLayoutConstraintsManager(org.w3c.dom.Node) | STYLE | DLS_DEAD_LOCAL_STORE | 585 |
Dead store to cl in method org.mlc.swing.layout.LayoutConstraintsManager.main(String[]) | STYLE | DLS_DEAD_LOCAL_STORE | 643 |
Method org.mlc.swing.layout.LayoutConstraintsManager.getXML() makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 240 |
Method org.mlc.swing.layout.LayoutConstraintsManager.createString(org.w3c.dom.NodeList) catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caught | STYLE | REC_CATCH_EXCEPTION | 357 |
Bug | Category | Details | Line |
---|---|---|---|
Uncallable method org.mlc.swing.layout.LayoutConstraintsManager$1.configureProperty(String,String,Object) defined in anonymous class | CORRECTNESS | UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS | 590-591 |
Bug | Category | Details | Line |
---|---|---|---|
Possible null pointer dereference in org.mlc.swing.layout.FormEditor$NewComponentAction.actionPerformed(java.awt.event.ActionEvent) on exception path | CORRECTNESS | NP_NULL_ON_SOME_PATH_EXCEPTION | 1379 |
Unchecked/unconfirmed cast from java.awt.Container to class java.awt.Frame in org.mlc.swing.layout.FormEditor$NewComponentAction.actionPerformed(java.awt.event.ActionEvent) | STYLE | BC_UNCONFIRMED_CAST | 1362 |
Bug | Category | Details | Line |
---|---|---|---|
Method org.mlc.swing.layout.LayoutFrame$XmlFileFilter.accept(java.io.File) invokes dubious String.toUpperCase() or String.toLowerCase; use the Locale parameterized version instead | I18N | DM_CONVERT_CASE | 420 |
Bug | Category | Details | Line |
---|---|---|---|
org.mlc.swing.layout.FormEditor$NewComponentDialog0$PropertyTableModel is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
Bug | Category | Details | Line |
---|---|---|---|
Class org.mlc.swing.layout.JTableComponentBuilder$1 defines non-transient non-serializable instance field org.mlc.swing.layout.JTableComponentBuilder$1.this$0 | CORRECTNESS | SE_BAD_FIELD | Not available |
Bug | Category | Details | Line |
---|---|---|---|
Method org.mlc.swing.layout.LayoutFrame$4.actionPerformed(java.awt.event.ActionEvent) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 224 |
Bug | Category | Details | Line |
---|---|---|---|
Class org.mlc.swing.layout.LayoutFrame defines non-transient non-serializable instance field org.mlc.swing.layout.LayoutFrame.constraintsManager | CORRECTNESS | SE_BAD_FIELD | Not available |
Bug | Category | Details | Line |
---|---|---|---|
Method org.mlc.swing.layout.FormEditor$ComponentSelectionListModel.getSize() invokes dubious String.toUpperCase() or String.toLowerCase; use the Locale parameterized version instead | I18N | DM_CONVERT_CASE | 606 |
org.mlc.swing.layout.FormEditor$ComponentSelectionListModel is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
Bug | Category | Details | Line |
---|---|---|---|
Load of known null value in org.mlc.swing.layout.NewComponentDialog.getInstance() | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 201 |
Call to swing method in org.mlc.swing.layout.NewComponentDialog.main(String[]) needs to be performed in Swing event thread | CORRECTNESS | SW_SWING_METHODS_INVOKED_IN_SWING_THREAD | 379 |
Call to swing method in org.mlc.swing.layout.NewComponentDialog.main(String[]) needs to be performed in Swing event thread | CORRECTNESS | SW_SWING_METHODS_INVOKED_IN_SWING_THREAD | 380 |
Class org.mlc.swing.layout.NewComponentDialog defines non-transient non-serializable instance field org.mlc.swing.layout.NewComponentDialog.componentDef | CORRECTNESS | SE_BAD_FIELD | Not available |
Bug | Category | Details | Line |
---|---|---|---|
org.mlc.swing.layout.LayoutFrame$5.actionPerformed(java.awt.event.ActionEvent) might ignore java.lang.Exception | CORRECTNESS | DE_MIGHT_IGNORE | 389 |
Bug | Category | Details | Line |
---|---|---|---|
clone method org.mlc.swing.layout.ComponentDef.clone() does not call super.clone() | CORRECTNESS | CN_IDIOM_NO_SUPER_CALL | 64 |
Method org.mlc.swing.layout.LayoutFrame$5.actionPerformed(java.awt.event.ActionEvent) catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caught | STYLE | REC_CATCH_EXCEPTION | 376 |
Method org.mlc.swing.layout.ComponentDef.createComponentDefs() catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caught | STYLE | REC_CATCH_EXCEPTION | 234 |
Bug | Category | Details | Line |
---|---|---|---|
org.mlc.swing.layout.FormEditor$ComponentPaletteListModel is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
Bug | Category | Details | Line |
---|---|---|---|
Method org.mlc.swing.layout.DefaultComponentBuilder.getInstance(java.util.Map) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 157 |
Bug | Category | Details | Line |
---|---|---|---|
Dead store to context in method org.mlc.swing.layout.DnDTable.dragOver(java.awt.dnd.DropTargetDragEvent) | STYLE | DLS_DEAD_LOCAL_STORE | 210 |
Dead store to col in method org.mlc.swing.layout.DnDTable.dragOver(java.awt.dnd.DropTargetDragEvent) | STYLE | DLS_DEAD_LOCAL_STORE | 215 |
Dead store to row in method org.mlc.swing.layout.DnDTable.dragOver(java.awt.dnd.DropTargetDragEvent) | STYLE | DLS_DEAD_LOCAL_STORE | 216 |
Unchecked/unconfirmed cast from java.awt.Container to class javax.swing.JComponent in org.mlc.swing.layout.DnDTable.autoscroll(java.awt.Point) | STYLE | BC_UNCONFIRMED_CAST | 152 |
Bug | Category | Details | Line |
---|---|---|---|
Method org.mlc.swing.layout.ContainerLayout.addLayoutComponent(java.awt.Component,Object) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 454 |
Method org.mlc.swing.layout.ContainerLayout.addLayoutComponent(java.awt.Component,Object) catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caught | STYLE | REC_CATCH_EXCEPTION | 471 |
Bug | Category | Details | Line |
---|---|---|---|
Unread field: org.mlc.swing.layout.BeanProperty.possibleValues | PERFORMANCE | URF_UNREAD_FIELD | Not available |
Should org.mlc.swing.layout.ContainerLayout$LocationScore be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | Not available |
Unread field: org.mlc.swing.layout.DefaultComponentBuilder.editableProperties | PERFORMANCE | URF_UNREAD_FIELD | Not available |
Should org.mlc.swing.layout.FormEditor$ComponentPaletteListModel be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | Not available |
Should org.mlc.swing.layout.FormEditor$ComponentPaletteListRenderer be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | Not available |
Unread field: org.mlc.swing.layout.FormEditor$NewComponentDialog0$1.val$this$0 | PERFORMANCE | URF_UNREAD_FIELD | Not available |
Unread field: org.mlc.swing.layout.FormEditor$NewComponentDialog0$2.val$this$0 | PERFORMANCE | URF_UNREAD_FIELD | Not available |
Unread field: org.mlc.swing.layout.FormEditor$NewComponentDialog0$3.val$this$0 | PERFORMANCE | URF_UNREAD_FIELD | Not available |
The class org.mlc.swing.layout.JTableComponentBuilder$1 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | Not available |
The class org.mlc.swing.layout.LayoutFrame$CodeDialog could be refactored into a _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_NEEDS_THIS | Not available |
Unread field: org.mlc.swing.layout.LayoutFrame$CodeDialog$1.val$this$0 | PERFORMANCE | URF_UNREAD_FIELD | Not available |
Should org.mlc.swing.layout.LayoutFrame$XmlFileFilter be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | Not available |