Changeset 8285 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2015-04-28T00:49:49+02:00 (11 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/tools
- Files:
-
- 9 edited
-
BugReportExceptionHandler.java (modified) (1 diff)
-
CopyList.java (modified) (3 diffs)
-
Diff.java (modified) (2 diffs)
-
ImageProvider.java (modified) (1 diff)
-
MultikeyActionsHandler.java (modified) (1 diff)
-
SubclassFilteredCollection.java (modified) (1 diff)
-
TextTagParser.java (modified) (1 diff)
-
XmlObjectParser.java (modified) (2 diffs)
-
template_engine/ContextSwitchTemplate.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/BugReportExceptionHandler.java
r8126 r8285 48 48 private static class BugReporterThread extends Thread { 49 49 50 final Throwable e; 50 private final Throwable e; 51 51 52 52 public BugReporterThread(Throwable t) { -
trunk/src/org/openstreetmap/josm/tools/CopyList.java
r7005 r8285 148 148 * Index of element to be returned by subsequent call to next. 149 149 */ 150 int cursor = 0; 150 private int cursor = 0; 151 151 152 152 /** … … 155 155 * to remove. 156 156 */ 157 int lastRet = -1; 157 private int lastRet = -1; 158 158 159 159 /** … … 162 162 * has detected concurrent modification. 163 163 */ 164 int expectedModCount = modCount; 164 private int expectedModCount = modCount; 165 165 166 166 @Override -
trunk/src/org/openstreetmap/josm/tools/Diff.java
r7801 r8285 934 934 935 935 /** Number of elements (lines) in this file. */ 936 final int buffered_lines; 936 private final int buffered_lines; 937 937 938 938 /** Vector, indexed by line number, containing an equivalence code for … … 943 943 /** Vector, like the previous one except that 944 944 the elements for discarded lines have been squeezed out. */ 945 final int[] undiscarded; 945 private final int[] undiscarded; 946 946 947 947 /** Vector mapping virtual line numbers (not counting discarded lines) 948 948 to real ones (counting those lines). Both are origin-0. */ 949 final int[] realindexes; 949 private final int[] realindexes; 950 950 951 951 /** Total number of nondiscarded lines. */ 952 int nondiscarded_lines; 952 private int nondiscarded_lines; 953 953 954 954 /** Array, indexed by real origin-1 line number, 955 955 containing true for a line that is an insertion or a deletion. 956 956 The results of comparison are stored here. */ 957 boolean[] changed_flag; 957 private boolean[] changed_flag; 958 958 } 959 959 } -
trunk/src/org/openstreetmap/josm/tools/ImageProvider.java
r8149 r8285 1190 1190 1191 1191 /** 90 degrees in radians units */ 1192 static final double DEGREE_90 = 90.0 * Math.PI / 180.0; 1192 private static final double DEGREE_90 = 90.0 * Math.PI / 180.0; 1193 1193 1194 1194 /** -
trunk/src/org/openstreetmap/josm/tools/MultikeyActionsHandler.java
r8126 r8285 67 67 private class MyAction extends AbstractAction { 68 68 69 final MultikeyShortcutAction action; 70 final Shortcut shortcut; 69 private final MultikeyShortcutAction action; 70 private final Shortcut shortcut; 71 71 72 72 MyAction(MultikeyShortcutAction action) { -
trunk/src/org/openstreetmap/josm/tools/SubclassFilteredCollection.java
r7395 r8285 20 20 private final Collection<? extends S> collection; 21 21 private final Predicate<? super S> predicate; 22 int size = -1; 22 private int size = -1; 23 23 24 24 private class FilterIterator implements Iterator<T> { -
trunk/src/org/openstreetmap/josm/tools/TextTagParser.java
r8061 r8285 40 40 41 41 public static class TextAnalyzer { 42 boolean quotesStarted = false; 43 boolean esc = false; 44 StringBuilder s = new StringBuilder(200); 45 int pos; 46 String data; 47 int n; 42 private boolean quotesStarted = false; 43 private boolean esc = false; 44 private StringBuilder s = new StringBuilder(200); 45 private int pos; 46 private String data; 47 private int n; 48 48 49 49 public TextAnalyzer(String text) { -
trunk/src/org/openstreetmap/josm/tools/XmlObjectParser.java
r7889 r8285 68 68 69 69 private class Parser extends DefaultHandler { 70 Stack<Object> current = new Stack<>(); 71 StringBuilder characters = new StringBuilder(64); 70 private Stack<Object> current = new Stack<>(); 71 private StringBuilder characters = new StringBuilder(64); 72 72 73 73 private Locator locator; … … 185 185 186 186 private static class Entry { 187 Class<?> klass; 188 boolean onStart; 189 boolean both; 187 private Class<?> klass; 188 private boolean onStart; 189 private boolean both; 190 190 private final Map<String, Field> fields = new HashMap<>(); 191 191 private final Map<String, Method> methods = new HashMap<>(); -
trunk/src/org/openstreetmap/josm/tools/template_engine/ContextSwitchTemplate.java
r7937 r8285 41 41 42 42 private abstract class ContextProvider extends Match { 43 Match condition; 43 protected Match condition; 44 44 abstract List<OsmPrimitive> getPrimitives(OsmPrimitive root); 45 45 }
Note:
See TracChangeset
for help on using the changeset viewer.
