Changeset 11369 in josm for trunk/src/org


Ignore:
Timestamp:
2016-12-08T09:23:54+01:00 (3 years ago)
Author:
Don-vip
Message:

see #14043 - restore short constants to their correct value

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/AbstractPrimitive.java

    r11368 r11369  
    5757     * and on upload the object will be send to the server.
    5858     */
    59     protected static final short FLAG_MODIFIED = 0x0001;
     59    protected static final short FLAG_MODIFIED = 1 << 0;
    6060
    6161    /**
     
    6363     * as deleted on the server.
    6464     */
    65     protected static final short FLAG_VISIBLE = 0x0010;
     65    protected static final short FLAG_VISIBLE = 1 << 1;
    6666
    6767    /**
     
    7272     * objects still referring to it.
    7373     */
    74     protected static final short FLAG_DELETED = 0x0100;
     74    protected static final short FLAG_DELETED = 1 << 2;
    7575
    7676    /**
     
    7979     * fetched from the server.
    8080     */
    81     protected static final short FLAG_INCOMPLETE = 0x1000;
     81    protected static final short FLAG_INCOMPLETE = 1 << 3;
    8282
    8383    /**
Note: See TracChangeset for help on using the changeset viewer.