Ignore:
Timestamp:
2009-12-13T11:48:12+01:00 (10 years ago)
Author:
jttt
Message:

Fixed some of the warnings found by FindBugs

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

Legend:

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

    r2622 r2626  
    881881     *
    882882     */
    883     class HistoryPrimitiveBuilder extends AbstractVisitor {
     883    static class HistoryPrimitiveBuilder extends AbstractVisitor {
    884884        private HistoryOsmPrimitive clone;
    885885
  • trunk/src/org/openstreetmap/josm/gui/history/NodeListViewer.java

    r2512 r2626  
    169169    }
    170170
    171     class NodeListPopupMenu extends JPopupMenu {
     171    static class NodeListPopupMenu extends JPopupMenu {
    172172        private ZoomToNodeAction zoomToNodeAction;
    173173        private ShowHistoryAction showHistoryAction;
     
    189189    }
    190190
    191     class ZoomToNodeAction extends AbstractAction {
     191    static class ZoomToNodeAction extends AbstractAction {
    192192        private PrimitiveId primitiveId;
    193193
     
    235235    }
    236236
    237     class ShowHistoryAction extends AbstractAction {
     237    static class ShowHistoryAction extends AbstractAction {
    238238        private PrimitiveId primitiveId;
    239239
     
    302302    }
    303303
    304     class DoubleClickAdapter extends MouseAdapter {
     304    static class DoubleClickAdapter extends MouseAdapter {
    305305        private JTable table;
    306306        private ShowHistoryAction showHistoryAction;
  • trunk/src/org/openstreetmap/josm/gui/history/VersionTable.java

    r2556 r2626  
    99import java.util.Observable;
    1010import java.util.Observer;
    11 import java.util.logging.Logger;
    1211
    1312import javax.swing.DefaultListSelectionModel;
     
    2827 */
    2928public class VersionTable extends JTable implements Observer{
     29    //private static Logger logger = Logger.getLogger(VersionTable.class.getName());
    3030
    31     private static Logger logger = Logger.getLogger(VersionTable.class.getName());
    3231    private VersionTablePopupMenu popupMenu;
    3332
     
    114113    }
    115114
    116     class ChangesetInfoAction extends AbstractInfoAction {
     115    static class ChangesetInfoAction extends AbstractInfoAction {
    117116        private HistoryOsmPrimitive primitive;
    118117
     
    143142    }
    144143
    145     class VersionTablePopupMenu extends JPopupMenu {
     144    static class VersionTablePopupMenu extends JPopupMenu {
    146145
    147146        private ChangesetInfoAction changesetInfoAction;
Note: See TracChangeset for help on using the changeset viewer.