Changeset 17623 in josm


Ignore:
Timestamp:
2021-03-21T15:45:29+01:00 (4 years ago)
Author:
simon04
Message:

see #4626 - https://errorprone.info/bugpattern/ProtectedMembersInFinalClass

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/tests/MapCSSTagCheckerRule.java

    r17620 r17623  
    5555     * The selector of this {@code TagCheck}
    5656     */
    57     protected final MapCSSRule rule;
     57    final MapCSSRule rule;
    5858    /**
    5959     * Commands to apply in order to fix a matching primitive
    6060     */
    61     protected final List<MapCSSTagCheckerFixCommand> fixCommands;
     61    final List<MapCSSTagCheckerFixCommand> fixCommands;
    6262    /**
    6363     * Tags (or arbitrary strings) of alternatives to be presented to the user
    6464     */
    65     protected final List<String> alternatives;
     65    final List<String> alternatives;
    6666    /**
    6767     * An {@link org.openstreetmap.josm.gui.mappaint.mapcss.Instruction.AssignmentInstruction}-{@link Severity} pair.
    6868     * Is evaluated on the matching primitive to give the error message. Map is checked to contain exactly one element.
    6969     */
    70     protected final Map<Instruction.AssignmentInstruction, Severity> errors;
     70    final Map<Instruction.AssignmentInstruction, Severity> errors;
    7171    /**
    7272     * MapCSS Classes to set on matching primitives
    7373     */
    74     protected final Collection<String> setClassExpressions;
     74    final Collection<String> setClassExpressions;
    7575    /**
    7676     * Denotes whether the object should be deleted for fixing it
    7777     */
    78     protected boolean deletion;
     78    boolean deletion;
    7979    /**
    8080     * A string used to group similar tests
    8181     */
    82     protected String group;
     82    String group;
    8383
    8484    MapCSSTagCheckerRule(MapCSSRule rule) {
Note: See TracChangeset for help on using the changeset viewer.