Changeset 12050 in josm for trunk/src/org
- Timestamp:
- 2017-05-03T17:27:50+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/LongSegment.java
r12040 r12050 130 130 } 131 131 132 private boolean isUsableNode(OsmPrimitive p) {132 private static boolean isUsableNode(OsmPrimitive p) { 133 133 // test changed nodes - ways referred by them may not be checked automatically. 134 134 return p instanceof Node && p.isDrawable(); 135 135 } 136 136 137 private boolean isUsableWay(OsmPrimitive p) {137 private static boolean isUsableWay(OsmPrimitive p) { 138 138 // test only Ways with at least 2 nodes 139 139 return p instanceof Way && ((Way) p).getNodesCount() > 1; -
trunk/src/org/openstreetmap/josm/gui/conflict/pair/AbstractMergePanel.java
r12047 r12050 180 180 * The current row counter. Used when adding new rows. 181 181 */ 182 protected int currentRow = 0;182 protected int currentRow; 183 183 184 184 /** -
trunk/src/org/openstreetmap/josm/gui/conflict/pair/tags/TagMerger.java
r12047 r12050 46 46 * the table for my tag set 47 47 */ 48 private final JTable mineTable = generateTable( model,new MineTableCellRenderer());48 private final JTable mineTable = generateTable(new MineTableCellRenderer()); 49 49 /** 50 50 * the table for the merged tag set 51 51 */ 52 private final JTable mergedTable = generateTable( model,new MergedTableCellRenderer());52 private final JTable mergedTable = generateTable(new MergedTableCellRenderer()); 53 53 /** 54 54 * the table for their tag set 55 55 */ 56 private final JTable theirTable = generateTable( model,new TheirTableCellRenderer());56 private final JTable theirTable = generateTable(new TheirTableCellRenderer()); 57 57 58 58 /** … … 71 71 } 72 72 73 private JTable generateTable(TagMerge Model model2, TagMergeTableCellRenderer renderer) {73 private JTable generateTable(TagMergeTableCellRenderer renderer) { 74 74 return new JTable(model, new TagTableColumnModelBuilder(renderer, KEY_VALUE).build()); 75 75 } … … 105 105 106 106 private final class TagTableRow extends MergeRow { 107 private transientAdjustmentSynchronizer adjustmentSynchronizer = new AdjustmentSynchronizer();107 private final AdjustmentSynchronizer adjustmentSynchronizer = new AdjustmentSynchronizer(); 108 108 109 109 /** … … 113 113 * @return the scroll pane embedding the table 114 114 */ 115 protectedJScrollPane embeddInScrollPane(JTable table) {115 JScrollPane embeddInScrollPane(JTable table) { 116 116 JScrollPane pane = new JScrollPane(table); 117 117 adjustmentSynchronizer.synchronizeAdjustment(pane.getVerticalScrollBar());
Note:
See TracChangeset
for help on using the changeset viewer.