Ignore:
Timestamp:
2016-03-13T00:38:12+01:00 (9 years ago)
Author:
Don-vip
Message:

sonar - code simplification

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/imagery/CacheContentsPanel.java

    r9078 r9976  
    243243
    244244    private static DefaultTableModel getTableModel(final CacheAccess<String, BufferedImageCacheEntry> cache) {
    245         final DefaultTableModel tableModel = new DefaultTableModel(
     245        return new DefaultTableModel(
    246246                getCacheStats(cache),
    247247                new String[]{tr("Cache name"), tr("Object Count"), tr("Clear")}) {
     
    251251            }
    252252        };
    253         return tableModel;
    254253    }
    255254}
Note: See TracChangeset for help on using the changeset viewer.