Ignore:
Timestamp:
2015-11-28T18:26:23+01:00 (5 years ago)
Author:
Don-vip
Message:

sonar - Immutable Field

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

Legend:

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

    r8510 r9067  
    1111public abstract class CorrectionTableModel<C extends Correction> extends AbstractTableModel {
    1212
    13     private transient List<C> corrections;
     13    private final transient List<C> corrections;
    1414    private boolean[] apply;
    15     private int applyColumn;
     15    private final int applyColumn;
    1616
    1717    public CorrectionTableModel(List<C> corrections) {
  • trunk/src/org/openstreetmap/josm/corrector/TagCorrector.java

    r9062 r9067  
    4646    public abstract Collection<Command> execute(P oldprimitive, P primitive) throws UserCancelException;
    4747
    48     private String[] applicationOptions = new String[] {
     48    private final String[] applicationOptions = new String[] {
    4949            tr("Apply selected changes"),
    5050            tr("Do not apply changes"),
Note: See TracChangeset for help on using the changeset viewer.