Changeset 30568 in osm for applications/editors/josm/plugins/opendata/includes/org/jopendocument/util
- Timestamp:
- 2014-08-06T19:33:57+02:00 (12 years ago)
- Location:
- applications/editors/josm/plugins/opendata/includes/org/jopendocument/util
- Files:
-
- 4 edited
-
FileUtils.java (modified) (1 diff)
-
StringUtils.java (modified) (1 diff)
-
Tuple2.java (modified) (1 diff)
-
cc/Transformer.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/opendata/includes/org/jopendocument/util/FileUtils.java
r28000 r30568 31 31 private static final Map<String, String> ext2mime; 32 32 static { 33 ext2mime = new HashMap< String, String>();33 ext2mime = new HashMap<>(); 34 34 ext2mime.put(".xml", "text/xml"); 35 35 ext2mime.put(".jpg", "image/jpeg"); -
applications/editors/josm/plugins/opendata/includes/org/jopendocument/util/StringUtils.java
r28000 r30568 47 47 super(); 48 48 this.esc = esc; 49 this.substitution = new LinkedHashMap< Character, Character>();50 this.inv = new HashMap< Character, Character>();49 this.substitution = new LinkedHashMap<>(); 50 this.inv = new HashMap<>(); 51 51 this.add(esc, name); 52 52 } -
applications/editors/josm/plugins/opendata/includes/org/jopendocument/util/Tuple2.java
r28000 r30568 31 31 // just to make the code shorter 32 32 public static final <A, B> Tuple2<A, B> create(A a, B b) { 33 return new Tuple2< A, B>(a, b);33 return new Tuple2<>(a, b); 34 34 } 35 35 -
applications/editors/josm/plugins/opendata/includes/org/jopendocument/util/cc/Transformer.java
r28000 r30568 21 21 22 22 public static final <N> ITransformer<N, N> nopTransformer() { 23 return new ITransformerWrapper< N, N>(TransformerUtils.nopTransformer());23 return new ITransformerWrapper<>(TransformerUtils.nopTransformer()); 24 24 } 25 25
Note:
See TracChangeset
for help on using the changeset viewer.
