Changeset 6268 in josm for trunk/test/functional/org/openstreetmap/josm/io
- Timestamp:
- 2013-09-27T19:50:29+02:00 (11 years ago)
- Location:
- trunk/test/functional/org/openstreetmap/josm/io
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/functional/org/openstreetmap/josm/io/MultiFetchServerObjectReaderTest.java
r5556 r6268 12 12 import java.io.FileWriter; 13 13 import java.io.IOException; 14 import java.io.InputStream; 14 15 import java.io.PrintWriter; 15 16 import java.text.MessageFormat; … … 138 139 // 139 140 try { 140 testProperties.load(MultiFetchServerObjectReaderTest.class.getResourceAsStream("/test-functional-env.properties")); 141 InputStream is = MultiFetchServerObjectReaderTest.class.getResourceAsStream("/test-functional-env.properties"); 142 testProperties.load(is); 143 is.close(); 141 144 } catch(Exception e){ 142 145 logger.log(Level.SEVERE, MessageFormat.format("failed to load property file ''{0}''", "test-functional-env.properties")); -
trunk/test/functional/org/openstreetmap/josm/io/OsmServerBackreferenceReaderTest.java
r5556 r6268 10 10 import java.io.FileWriter; 11 11 import java.io.IOException; 12 import java.io.InputStream; 12 13 import java.io.PrintWriter; 13 14 import java.text.MessageFormat; … … 145 146 // 146 147 try { 147 testProperties.load(MultiFetchServerObjectReaderTest.class.getResourceAsStream("/test-functional-env.properties")); 148 InputStream is = MultiFetchServerObjectReaderTest.class.getResourceAsStream("/test-functional-env.properties"); 149 testProperties.load(is); 150 is.close(); 148 151 } catch(Exception e){ 149 152 logger.log(Level.SEVERE, MessageFormat.format("failed to load property file ''{0}''", "test-functional-env.properties"));
Note:
See TracChangeset
for help on using the changeset viewer.