Ignore:
Timestamp:
2015-06-06T01:48:41+02:00 (10 years ago)
Author:
Don-vip
Message:

fix some minor sonar/code style issues:

  • Avoid Protected Field In Final Class
  • Class defines fields that are used only as locals
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/conflict/tags/PasteTagsConflictResolverDialog.java

    r8419 r8468  
    510510    private static final class StatisticsInfoTable extends JPanel {
    511511
    512         private JTable infoTable;
    513 
    514         protected void build(StatisticsTableModel model) {
    515             infoTable = new JTable(model, new StatisticsTableColumnModel());
     512        private StatisticsInfoTable(StatisticsTableModel model) {
     513            JTable infoTable = new JTable(model, new StatisticsTableColumnModel());
    516514            infoTable.setShowHorizontalLines(true);
    517515            infoTable.setShowVerticalLines(false);
     
    521519        }
    522520
    523         private StatisticsInfoTable(StatisticsTableModel model) {
    524             build(model);
    525         }
    526 
    527521        @Override
    528522        public Insets getInsets() {
Note: See TracChangeset for help on using the changeset viewer.