Browse Source

REPORT-14093 [FindBugs问题修复] 不需要public static的单例

bugfix/10.0
zack 6 years ago
parent
commit
4917ebec2c
  1. 2
      designer-base/src/main/java/com/fr/design/mainframe/loghandler/LogMessageBar.java

2
designer-base/src/main/java/com/fr/design/mainframe/loghandler/LogMessageBar.java

@ -14,7 +14,7 @@ import java.awt.event.MouseEvent;
public class LogMessageBar extends JPanel {
private UILabel messageLabel;
private int width = 600;
public static volatile LogMessageBar THIS;
private static volatile LogMessageBar THIS;
private JFrame dlg = new LogDetailPane().showDialog();
public static LogMessageBar getInstance() {

Loading…
Cancel
Save