Ignore:
Timestamp:
2016-05-15T18:48:35+02:00 (10 years ago)
Author:
Don-vip
Message:

findbugs - reliance on default encoding

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/data/cache/JCSCachedTileLoaderJobTest.java

    r9973 r10219  
    77import java.net.MalformedURLException;
    88import java.net.URL;
     9import java.nio.charset.StandardCharsets;
    910
    1011import org.apache.commons.jcs.access.behavior.ICacheAccess;
     
    4647        @Override
    4748        protected CacheEntry createCacheEntry(byte[] content) {
    48             return new CacheEntry("dummy".getBytes());
     49            return new CacheEntry("dummy".getBytes(StandardCharsets.UTF_8));
    4950        }
    5051    }
Note: See TracChangeset for help on using the changeset viewer.