Ignore:
Timestamp:
2013-09-27T13:38:15+02:00 (6 years ago)
Author:
Don-vip
Message:

Sonar/FindBugs - Replace singular fields by local variables

Location:
trunk/src/org/openstreetmap/josm/gui/history
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/history/HistoryBrowser.java

    r5440 r6267  
    3131    private CoordinateInfoViewer coordinateInfoViewer;
    3232    private JTabbedPane tpViewers;
    33     private VersionTable versionTable;
    3433
    3534    /**
     
    5554        pnl.setLayout(new BorderLayout());
    5655
    57         versionTable = new VersionTable(model);
     56        VersionTable versionTable = new VersionTable(model);
    5857        pnl.add(embeddInScrollPane(versionTable), BorderLayout.CENTER);
    5958        return pnl;
  • trunk/src/org/openstreetmap/josm/gui/history/VersionInfoPanel.java

    r6084 r6267  
    3939    private UrlLabel lblUser;
    4040    private UrlLabel lblChangeset;
    41     private JPanel pnlUserAndChangeset;
    4241
    4342    protected void build() {
     
    4544        pnl1.setLayout(new BorderLayout());
    4645        lblInfo = new JMultilineLabel("");
    47         //lblInfo.setHorizontalAlignment(JLabel.LEFT);
    4846        pnl1.add(lblInfo, BorderLayout.CENTER);
    4947
    50         pnlUserAndChangeset = new JPanel();
     48        JPanel pnlUserAndChangeset = new JPanel();
    5149        pnlUserAndChangeset.setLayout(new GridLayout(2,2));
    5250        lblUser = new UrlLabel("", 2);
Note: See TracChangeset for help on using the changeset viewer.