Changeset 9078 in josm for trunk/src/org/openstreetmap/josm/gui/conflict
- Timestamp:
- 2015-12-02T00:05:09+01:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/conflict
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/conflict/pair/relation/RelationMemberTableCellRenderer.java
r8840 r9078 23 23 */ 24 24 public class RelationMemberTableCellRenderer extends JLabel implements TableCellRenderer { 25 private transient Border rowNumberBorder;25 private final transient Border rowNumberBorder; 26 26 27 27 /** -
trunk/src/org/openstreetmap/josm/gui/conflict/pair/tags/TagMergeItem.java
r8840 r9078 17 17 public class TagMergeItem { 18 18 19 private String key;20 private String myTagValue;21 private String theirTagValue;19 private final String key; 20 private final String myTagValue; 21 private final String theirTagValue; 22 22 private MergeDecisionType mergeDecision = MergeDecisionType.UNDECIDED; 23 23 -
trunk/src/org/openstreetmap/josm/gui/conflict/tags/MultiValueCellEditor.java
r9059 r9078 50 50 51 51 /** the combo box used as editor */ 52 private JosmComboBox<Object> editor;53 private DefaultComboBoxModel<Object> editorModel;54 private CopyOnWriteArrayList<NavigationListener> listeners;52 private final JosmComboBox<Object> editor; 53 private final DefaultComboBoxModel<Object> editorModel; 54 private final CopyOnWriteArrayList<NavigationListener> listeners; 55 55 56 56 /** -
trunk/src/org/openstreetmap/josm/gui/conflict/tags/MultiValueCellRenderer.java
r8510 r9078 25 25 public class MultiValueCellRenderer extends JLabel implements TableCellRenderer { 26 26 27 private ImageIcon iconDecided;28 private ImageIcon iconUndecided;29 private DefaultComboBoxModel<Object> model;30 private JosmComboBox<Object> cbDecisionRenderer;27 private final ImageIcon iconDecided; 28 private final ImageIcon iconUndecided; 29 private final DefaultComboBoxModel<Object> model; 30 private final JosmComboBox<Object> cbDecisionRenderer; 31 31 32 32 /** -
trunk/src/org/openstreetmap/josm/gui/conflict/tags/MultiValueResolutionDecision.java
r8510 r9078 26 26 private MultiValueDecisionType type; 27 27 /** the collection of tags for which a decision is needed */ 28 private TagCollection tags;28 private final TagCollection tags; 29 29 /** the selected value if {@link #type} is {@link MultiValueDecisionType#KEEP_ONE} */ 30 30 private String value; -
trunk/src/org/openstreetmap/josm/gui/conflict/tags/PasteTagsConflictResolverDialog.java
r8849 r9078 402 402 private static final class StatisticsTableModel extends DefaultTableModel { 403 403 private static final String[] HEADERS = new String[] {tr("Paste ..."), tr("From ..."), tr("To ...") }; 404 private transient List<StatisticsInfo> data;404 private final transient List<StatisticsInfo> data; 405 405 406 406 private StatisticsTableModel() { -
trunk/src/org/openstreetmap/josm/gui/conflict/tags/RelationMemberConflictDecision.java
r8880 r9078 12 12 public class RelationMemberConflictDecision { 13 13 14 private Relation relation;15 private int pos;16 private OsmPrimitive originalPrimitive;14 private final Relation relation; 15 private final int pos; 16 private final OsmPrimitive originalPrimitive; 17 17 private String role; 18 18 private RelationMemberConflictDecisionType decision; -
trunk/src/org/openstreetmap/josm/gui/conflict/tags/RelationMemberConflictDecisionRenderer.java
r8510 r9078 17 17 implements TableCellRenderer, ListCellRenderer<RelationMemberConflictDecisionType> { 18 18 19 private JosmComboBox<RelationMemberConflictDecisionType> cbDecisionTypes;19 private final JosmComboBox<RelationMemberConflictDecisionType> cbDecisionTypes; 20 20 21 21 protected void resetTableRenderer() { -
trunk/src/org/openstreetmap/josm/gui/conflict/tags/TagConflictResolver.java
r8510 r9078 27 27 28 28 /** the model for the tag conflict resolver */ 29 private TagConflictResolverModel model;29 private final TagConflictResolverModel model; 30 30 /** selects whether only tags with conflicts are displayed */ 31 31 private JCheckBox cbShowTagsWithConflictsOnly; -
trunk/src/org/openstreetmap/josm/gui/conflict/tags/TagConflictResolverModel.java
r8840 r9078 27 27 private transient Map<String, MultiValueResolutionDecision> decisions; 28 28 private int numConflicts; 29 private PropertyChangeSupport support;29 private final PropertyChangeSupport support; 30 30 private boolean showTagsWithConflictsOnly; 31 31 private boolean showTagsWithMultiValuesOnly;
Note:
See TracChangeset
for help on using the changeset viewer.