Changeset 12363 in josm


Ignore:
Timestamp:
2017-06-09T19:49:17+02:00 (11 months ago)
Author:
michael2402
Message:

PushbackTokenizer: Range is in long, so use Long.MAX_VALUE instead of Integer.MAX_VALUE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/search/PushbackTokenizer.java

    r12362 r12363  
    333333            }
    334334        } else if (isRange && currentRange == null) {
    335             return new Range(currentNumber, Integer.MAX_VALUE);
     335            return new Range(currentNumber, Long.MAX_VALUE);
    336336        } else if (currentNumber != null && currentRange != null) {
    337337            return new Range(currentNumber, currentRange);
Note: See TracChangeset for help on using the changeset viewer.