Changeset 8840 in josm for trunk/src/org/openstreetmap/josm/data/osm
- Timestamp:
- 2015-10-09T02:12:45+02:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/osm
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/AbstractPrimitive.java
r8742 r8840 94 94 * know what id it will get. 95 95 */ 96 protected long id = 0;96 protected long id; 97 97 98 98 /** … … 100 100 * Never changed by JOSM. 101 101 */ 102 protected User user = null;102 protected User user; 103 103 104 104 /** … … 106 106 * ensure update consistency 107 107 */ 108 protected int version = 0;108 protected int version; 109 109 110 110 /** -
trunk/src/org/openstreetmap/josm/data/osm/Changeset.java
r8512 r8840 46 46 private boolean incomplete; 47 47 /** the changeset content */ 48 private ChangesetDataSet content = null;48 private ChangesetDataSet content; 49 49 /** the changeset discussion */ 50 private List<ChangesetDiscussionComment> discussion = null;50 private List<ChangesetDiscussionComment> discussion; 51 51 52 52 /** -
trunk/src/org/openstreetmap/josm/data/osm/DataSet.java
r8512 r8840 121 121 private int highlightUpdateCount; 122 122 123 private boolean uploadDiscouraged = false;123 private boolean uploadDiscouraged; 124 124 125 125 private final ReadWriteLock lock = new ReentrantReadWriteLock(); -
trunk/src/org/openstreetmap/josm/data/osm/Filter.java
r8812 r8840 15 15 16 16 public boolean enable = true; 17 public boolean hiding = false;18 public boolean inverted = false;17 public boolean hiding; 18 public boolean inverted; 19 19 20 20 /** … … 48 48 public static class FilterPreferenceEntry { 49 49 @pref @writeExplicitly public String version = "1"; 50 @pref public String text = null;50 @pref public String text; 51 51 @pref @writeExplicitly public String mode = "add"; 52 @pref public boolean case_sensitive = false;53 @pref public boolean regex_search = false;54 @pref public boolean mapCSS_search = false;52 @pref public boolean case_sensitive; 53 @pref public boolean regex_search; 54 @pref public boolean mapCSS_search; 55 55 @pref @writeExplicitly public boolean enable = true; 56 @pref @writeExplicitly public boolean hiding = false;57 @pref @writeExplicitly public boolean inverted = false;56 @pref @writeExplicitly public boolean hiding; 57 @pref @writeExplicitly public boolean inverted; 58 58 } 59 59 -
trunk/src/org/openstreetmap/josm/data/osm/NoteData.java
r8510 r8840 27 27 28 28 private final Storage<Note> noteList; 29 private Note selectedNote = null;29 private Note selectedNote; 30 30 private Comparator<Note> comparator = DEFAULT_COMPARATOR; 31 31 -
trunk/src/org/openstreetmap/josm/data/osm/OsmPrimitive.java
r8811 r8840 291 291 * MAPPAINT 292 292 *--------*/ 293 public StyleCache mappaintStyle = null;293 public StyleCache mappaintStyle; 294 294 public int mappaintCacheIdx; 295 295 … … 653 653 *--------------------------------------------------*/ 654 654 655 private static volatile Collection<String> workinprogress = null;656 private static volatile Collection<String> uninteresting = null;657 private static volatile Collection<String> discardable = null;655 private static volatile Collection<String> workinprogress; 656 private static volatile Collection<String> uninteresting; 657 private static volatile Collection<String> discardable; 658 658 659 659 /** … … 777 777 } 778 778 779 private static volatile Match directionKeys = null;780 private static volatile Match reversedDirectionKeys = null;779 private static volatile Match directionKeys; 780 private static volatile Match reversedDirectionKeys; 781 781 782 782 /** -
trunk/src/org/openstreetmap/josm/data/osm/Storage.java
r8510 r8840 89 89 private int mask; 90 90 private int size; 91 private volatile int modCount = 0;91 private volatile int modCount; 92 92 private double loadFactor = 0.6d; 93 93 private static final int DEFAULT_CAPACITY = 16; … … 459 459 private final class SafeReadonlyIter implements Iterator<T> { 460 460 private final T[] data; 461 private int slot = 0;461 private int slot; 462 462 463 463 SafeReadonlyIter(T[] data) { … … 491 491 private final class Iter implements Iterator<T> { 492 492 private final int mods; 493 private int slot = 0;493 private int slot; 494 494 private int removeSlot = -1; 495 495 -
trunk/src/org/openstreetmap/josm/data/osm/User.java
r8588 r8840 24 24 public final class User { 25 25 26 private static long uidCounter = 0;26 private static long uidCounter; 27 27 28 28 /** … … 59 59 } 60 60 61 private static User lastUser = null;61 private static User lastUser; 62 62 63 63 /** -
trunk/src/org/openstreetmap/josm/data/osm/visitor/BoundingXYVisitor.java
r8510 r8840 23 23 public class BoundingXYVisitor extends AbstractVisitor { 24 24 25 private ProjectionBounds bounds = null;25 private ProjectionBounds bounds; 26 26 27 27 @Override -
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/MapRendererFactory.java
r8540 r8840 109 109 110 110 private final List<Descriptor> descriptors = new ArrayList<>(); 111 private Class<? extends AbstractMapRenderer> activeRenderer = null;111 private Class<? extends AbstractMapRenderer> activeRenderer; 112 112 113 113 private MapRendererFactory() { -
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/PaintColors.java
r8674 r8840 35 35 private final Color defaultColor; 36 36 37 private static volatile Color backgroundColorCache = null;37 private static volatile Color backgroundColorCache; 38 38 39 39 private static final MapPaintSylesUpdateListener styleOverrideListener = new MapPaintSylesUpdateListener() { -
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java
r8839 r8840 103 103 private int idx; 104 104 105 private Point prev = null;105 private Point prev; 106 106 /* 'prev0' is a point that has distance 'offset' from 'prev' and the 107 107 * line from 'prev' to 'prev0' is perpendicular to the way segment from -
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/WireframeMapRenderer.java
r8512 r8840 74 74 75 75 /** Color cache to draw subsequent segments of same color as one <code>Path</code>. */ 76 protected Color currentColor = null;76 protected Color currentColor; 77 77 /** Path store to draw subsequent segments of same color as one <code>Path</code>. */ 78 78 protected GeneralPath currentPath = new GeneralPath();
Note:
See TracChangeset
for help on using the changeset viewer.