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

checkstyle: enable relevant whitespace checks and fix them

Location:
trunk/src/org/openstreetmap/josm/corrector
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/corrector/CorrectionTable.java

    r8126 r8510  
    2626            setFont(new Font(f.getName(), f.getStyle() | Font.BOLD, f.getSize()));
    2727
    28             setText((String)value);
     28            setText((String) value);
    2929
    3030            return this;
     
    5959    @SuppressWarnings("unchecked")
    6060    public T getCorrectionTableModel() {
    61         return (T)getModel();
     61        return (T) getModel();
    6262    }
    63 
    6463}
  • trunk/src/org/openstreetmap/josm/corrector/CorrectionTableModel.java

    r8308 r8510  
    2626
    2727    protected abstract boolean isBoldCell(int row, int column);
     28
    2829    public abstract String getCorrectionColumnName(int colIndex);
     30
    2931    public abstract Object getCorrectionValueAt(int rowIndex, int colIndex);
    3032
     
    6971    public void setValueAt(Object aValue, int rowIndex, int columnIndex) {
    7072        if (columnIndex == applyColumn && aValue instanceof Boolean)
    71             apply[rowIndex] = (Boolean)aValue;
     73            apply[rowIndex] = (Boolean) aValue;
    7274    }
    7375
  • trunk/src/org/openstreetmap/josm/corrector/ReverseWayTagCorrector.java

    r8470 r8510  
    236236                continue;
    237237            }
    238             Relation relation = (Relation)referrer;
     238            Relation relation = (Relation) referrer;
    239239            int position = 0;
    240240            for (RelationMember member : relation.getMembers()) {
  • trunk/src/org/openstreetmap/josm/corrector/TagCorrector.java

    r8509 r8510  
    144144                    OsmPrimitive clone = null;
    145145                    if (primitive instanceof Way) {
    146                         clone = new Way((Way)primitive);
     146                        clone = new Way((Way) primitive);
    147147                    } else if (primitive instanceof Node) {
    148                         clone = new Node((Node)primitive);
     148                        clone = new Node((Node) primitive);
    149149                    } else if (primitive instanceof Relation) {
    150                         clone = new Relation((Relation)primitive);
     150                        clone = new Relation((Relation) primitive);
    151151                    } else
    152152                        throw new AssertionError();
Note: See TracChangeset for help on using the changeset viewer.