Changeset 14792 in josm for trunk/test/unit
- Timestamp:
- 2019-02-18T19:27:16+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/preferences/imagery/ImageryPreferenceTestIT.java
r14789 r14792 12 12 import java.util.ArrayList; 13 13 import java.util.Collections; 14 import java.util.LinkedList;15 14 import java.util.List; 16 15 import java.util.Locale; … … 108 107 109 108 private static TMSCachedTileLoaderJob helper; 110 private static List<String> errorsToIgnore;111 private static List<String> notIgnoredErrors;109 private static final List<String> errorsToIgnore = new ArrayList<>(); 110 private static final List<String> notIgnoredErrors = new ArrayList<>(); 112 111 113 112 /** … … 118 117 public static void beforeClass() throws IOException { 119 118 helper = new TMSCachedTileLoaderJob(null, null, new CacheAccess<>(null), new TileJobOptions(0, 0, null, 0), null); 120 errorsToIgnore = TestUtils.getIgnoredErrorMessages(ImageryPreferenceTestIT.class);121 notIgnoredErrors = new LinkedList<>(errorsToIgnore);119 errorsToIgnore.addAll(TestUtils.getIgnoredErrorMessages(ImageryPreferenceTestIT.class)); 120 notIgnoredErrors.addAll(errorsToIgnore); 122 121 } 123 122
Note:
See TracChangeset
for help on using the changeset viewer.