Ignore:
Timestamp:
2024-04-22T20:59:26+02:00 (7 months 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/command/DeleteCommand.java

    r18801 r19050  
    250250            OsmPrimitive primitive = toDelete.iterator().next();
    251251            String msg;
    252             switch(OsmPrimitiveType.from(primitive)) {
     252            switch (OsmPrimitiveType.from(primitive)) {
    253253            case NODE: msg = marktr("Delete node {0}"); break;
    254254            case WAY: msg = marktr("Delete way {0}"); break;
     
    265265            } else {
    266266                OsmPrimitiveType t = typesToDelete.iterator().next();
    267                 switch(t) {
     267                switch (t) {
    268268                case NODE: msg = trn("Delete {0} node", "Delete {0} nodes", toDelete.size(), toDelete.size()); break;
    269269                case WAY: msg = trn("Delete {0} way", "Delete {0} ways", toDelete.size(), toDelete.size()); break;
Note: See TracChangeset for help on using the changeset viewer.