Changeset 8510 in josm for trunk/src/org/openstreetmap/josm/corrector
- Timestamp:
- 2015-06-20T23:42:21+02:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/corrector
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/corrector/CorrectionTable.java
r8126 r8510 26 26 setFont(new Font(f.getName(), f.getStyle() | Font.BOLD, f.getSize())); 27 27 28 setText((String) value);28 setText((String) value); 29 29 30 30 return this; … … 59 59 @SuppressWarnings("unchecked") 60 60 public T getCorrectionTableModel() { 61 return (T) getModel();61 return (T) getModel(); 62 62 } 63 64 63 } -
trunk/src/org/openstreetmap/josm/corrector/CorrectionTableModel.java
r8308 r8510 26 26 27 27 protected abstract boolean isBoldCell(int row, int column); 28 28 29 public abstract String getCorrectionColumnName(int colIndex); 30 29 31 public abstract Object getCorrectionValueAt(int rowIndex, int colIndex); 30 32 … … 69 71 public void setValueAt(Object aValue, int rowIndex, int columnIndex) { 70 72 if (columnIndex == applyColumn && aValue instanceof Boolean) 71 apply[rowIndex] = (Boolean) aValue;73 apply[rowIndex] = (Boolean) aValue; 72 74 } 73 75 -
trunk/src/org/openstreetmap/josm/corrector/ReverseWayTagCorrector.java
r8470 r8510 236 236 continue; 237 237 } 238 Relation relation = (Relation) referrer;238 Relation relation = (Relation) referrer; 239 239 int position = 0; 240 240 for (RelationMember member : relation.getMembers()) { -
trunk/src/org/openstreetmap/josm/corrector/TagCorrector.java
r8509 r8510 144 144 OsmPrimitive clone = null; 145 145 if (primitive instanceof Way) { 146 clone = new Way((Way) primitive);146 clone = new Way((Way) primitive); 147 147 } else if (primitive instanceof Node) { 148 clone = new Node((Node) primitive);148 clone = new Node((Node) primitive); 149 149 } else if (primitive instanceof Relation) { 150 clone = new Relation((Relation) primitive);150 clone = new Relation((Relation) primitive); 151 151 } else 152 152 throw new AssertionError();
Note:
See TracChangeset
for help on using the changeset viewer.