Ignore:
Timestamp:
2015-10-10T21:01:42+02:00 (9 years ago)
Author:
Don-vip
Message:

sonar - Unused private method should be removed
sonar - Unused protected methods should be removed
sonar - Sections of code should not be "commented out"
sonar - Empty statements should be removed
sonar - squid:S1172 - Unused method parameters should be removed
sonar - squid:S1481 - Unused local variables should be removed

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

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/tagging/TagCellRenderer.java

    r8840 r8855  
    6969    }
    7070
    71     protected TagEditorModel getModel(JTable table) {
    72         return (TagEditorModel) table.getModel();
    73     }
    74 
    7571    /**
    7672     * replies the cell renderer component for a specific cell
  • trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetItems.java

    r8846 r8855  
    233233        }
    234234
    235         public boolean addToPanel(JPanel p, Collection<OsmPrimitive> sel) {
     235        public boolean addToPanel(JPanel p) {
    236236            String cstring;
    237237            if (count > 0 && !required) {
     
    477477                proles.add(new JLabel(tr("elements")), GBC.eol());
    478478                for (Role i : roles) {
    479                     i.addToPanel(proles, sel);
     479                    i.addToPanel(proles);
    480480                }
    481481                p.add(proles, GBC.eol());
  • trunk/src/org/openstreetmap/josm/gui/tagging/ac/AutoCompletionList.java

    r8840 r8855  
    231231        if (filter == null) {
    232232            // Collections.copy throws an exception "Source does not fit in dest"
    233             // Collections.copy(filtered, list);
    234233            filtered.ensureCapacity(list.size());
    235234            for (AutoCompletionListItem item: list) {
Note: See TracChangeset for help on using the changeset viewer.