Changeset 6089 in josm for trunk/src/org/openstreetmap/josm/io
- Timestamp:
- 2013-07-26T21:43:10+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmServerReader.java
r6070 r6089 153 153 private InputStream FixEncoding(InputStream stream, String encoding) throws IOException 154 154 { 155 if ( encoding != null && encoding.equalsIgnoreCase("gzip")) {155 if ("gzip".equalsIgnoreCase(encoding)) { 156 156 stream = new GZIPInputStream(stream); 157 157 } 158 else if ( encoding != null && encoding.equalsIgnoreCase("deflate")) {158 else if ("deflate".equalsIgnoreCase(encoding)) { 159 159 stream = new InflaterInputStream(stream, new Inflater(true)); 160 160 }
Note:
See TracChangeset
for help on using the changeset viewer.