Ignore:
Timestamp:
2015-06-20T23:42:21+02:00 (9 years ago)
Author:
Don-vip
Message:

checkstyle: enable relevant whitespace checks and fix them

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesCellRenderer.java

    r8390 r8510  
    6060                        otherCount = v.size();
    6161                    } else {
    62                         blankCount = (Integer)v.get("");
     62                        blankCount = (Integer) v.get("");
    6363                        otherCount = v.size()-1;
    6464                    }
     
    7575                        sb.append(trn("{0} different", "{0} different", otherCount, otherCount));
    7676                    }
    77                     if(blankCount > 0) {
     77                    if (blankCount > 0) {
    7878                        /* I18n: properties display partial string joined with comma */
    7979                        sb.append(trn(", {0} unset", ", {0} unset", blankCount, blankCount));
     
    8888                }
    8989            }
    90             ((JLabel)c).putClientProperty("html.disable", Boolean.TRUE); // Fix #8730
    91             ((JLabel)c).setText(str);
     90            ((JLabel) c).putClientProperty("html.disable", Boolean.TRUE); // Fix #8730
     91            ((JLabel) c).setText(str);
    9292            if (Main.pref.getBoolean("display.discardable-keys", false)) {
    9393                String key = null;
Note: See TracChangeset for help on using the changeset viewer.