Ignore:
Timestamp:
2024-04-22T20:59:26+02:00 (7 weeks ago)
Author:
taylor.smock
Message:

Revert most var changes from r19048, fix most new compile warnings and checkstyle issues

Also, document why various ErrorProne checks were originally disabled and fix
generic SonarLint issues.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/tagging/TagEditorModel.java

    r18801 r19050  
    6060     * Creates a new tag editor model. Internally allocates two selection models
    6161     * for row selection and column selection.
    62      *
     62     * <p>
    6363     * To create a {@link javax.swing.JTable} with this model:
    6464     * <pre>
     
    157157        TagModel tag = get(row);
    158158        if (tag != null) {
    159             switch(col) {
     159            switch (col) {
    160160            case 0:
    161161                updateTagName(tag, (String) value);
     
    219219    /**
    220220     * adds a tag given by a name/value pair to the tag editor model.
    221      *
     221     * <p>
    222222     * If there is no tag with name <code>name</code> yet, a new {@link TagModel} is created
    223223     * and append to this model.
    224      *
     224     * <p>
    225225     * If there is a tag with name <code>name</code>, <code>value</code> is merged to the list
    226226     * of values for this tag.
Note: See TracChangeset for help on using the changeset viewer.