Ignore:
Timestamp:
2010-02-15T09:03:57+01:00 (14 years ago)
Author:
jttt
Message:

Fix some eclipse warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/ChangesetContentTableModel.java

    r2711 r2990  
    136136     */
    137137    static private class ChangesetContentEntry implements ChangesetDataSetEntry{
    138         private ChangesetModificationType modificationType;
    139         private HistoryOsmPrimitive primitive;
     138        private final ChangesetModificationType modificationType;
     139        private final HistoryOsmPrimitive primitive;
    140140
    141141        public ChangesetContentEntry(ChangesetModificationType modificationType, HistoryOsmPrimitive primitive) {
     
    145145
    146146        public ChangesetContentEntry(ChangesetDataSetEntry entry) {
    147             this.modificationType = entry.getModificationType();
    148             this.primitive = entry.getPrimitive();
     147            this(entry.getModificationType(), entry.getPrimitive());
    149148        }
    150149
     
    152151            return modificationType;
    153152        }
    154         public void setModificationType(ChangesetModificationType modificationType) {
    155             this.modificationType = modificationType;
    156         }
    157153        public HistoryOsmPrimitive getPrimitive() {
    158154            return primitive;
    159155        }
    160         public void setPrimitive(HistoryOsmPrimitive primitive) {
    161             this.primitive = primitive;
    162         }
    163156    }
    164157}
Note: See TracChangeset for help on using the changeset viewer.