Changeset 11048 in josm for trunk


Ignore:
Timestamp:
2016-09-24T01:53:51+02:00 (3 years ago)
Author:
Don-vip
Message:

sonar

Location:
trunk/src/org/openstreetmap/josm
Files:
4 edited

Legend:

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

    r11029 r11048  
    216216    private final transient List<Layer> nonChangedLayers = new ArrayList<>();
    217217    private int lastViewID;
    218     private AtomicBoolean paintPreferencesChanged = new AtomicBoolean(true);
     218    private final AtomicBoolean paintPreferencesChanged = new AtomicBoolean(true);
    219219    private Rectangle lastClipBounds = new Rectangle();
    220220    private transient MapMover mapMover;
  • trunk/src/org/openstreetmap/josm/gui/dialogs/CommandListMutableTreeNode.java

    r11024 r11048  
    1212public class CommandListMutableTreeNode extends DefaultMutableTreeNode {
    1313
    14     protected final PseudoCommand cmd;
     14    protected final transient PseudoCommand cmd;
    1515    protected final int idx;
    1616
  • trunk/src/org/openstreetmap/josm/io/OverpassDownloadReader.java

    r11009 r11048  
    7979                    case "geocodeArea":
    8080                        matcher.appendReplacement(sb, geocodeArea(matcher.group(2)));
     81                        break;
     82                    default:
     83                        Main.warn("Unsupported syntax: " + matcher.group(1));
    8184                }
    8285            } catch (UncheckedParseException ex) {
  • trunk/src/org/openstreetmap/josm/tools/date/DateUtils.java

    r11035 r11048  
    9898            if (str.length() == 22 || str.length() == 25) {
    9999                final int plusHr = parsePart2(str, 20);
    100                 final int mul = str.charAt(19) == '+' ? -1 : 1;
     100                final long mul = str.charAt(19) == '+' ? -1 : 1;
    101101                return local.plusHours(plusHr * mul).toInstant().toEpochMilli();
    102102            }
     
    120120            if (str.length() == 29) {
    121121                final int plusHr = parsePart2(str, 24);
    122                 final int mul = str.charAt(23) == '+' ? -1 : 1;
     122                final long mul = str.charAt(23) == '+' ? -1 : 1;
    123123                return local.plusHours(plusHr * mul).toInstant().toEpochMilli();
    124124            }
Note: See TracChangeset for help on using the changeset viewer.