Changeset 12620 in josm for trunk/src/org/openstreetmap/josm/data/cache/HostLimitQueue.java
- Timestamp:
- 2017-08-22T22:26:32+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/cache/HostLimitQueue.java
r11546 r12620 12 12 import java.util.concurrent.TimeUnit; 13 13 14 import org.openstreetmap.josm. Main;14 import org.openstreetmap.josm.tools.Logging; 15 15 16 16 /** … … 67 67 url = job.getUrl(); 68 68 } catch (IOException e) { 69 Main.debug(e);69 Logging.debug(e); 70 70 } 71 Main.debug("TMS - Skipping job {0} because host limit reached", url);71 Logging.debug("TMS - Skipping job {0} because host limit reached", url); 72 72 } 73 73 } … … 90 90 // acquire my got interrupted, first offer back what was taken 91 91 if (!offer(job)) { 92 Main.warn("Unable to offer back " + job);92 Logging.warn("Unable to offer back " + job); 93 93 } 94 94 throw e; … … 110 110 // acquire my got interrupted, first offer back what was taken 111 111 if (!offer(job)) { 112 Main.warn("Unable to offer back " + job);112 Logging.warn("Unable to offer back " + job); 113 113 } 114 114 throw e; … … 209 209 limit.release(); 210 210 if (limit.availablePermits() > hostLimit) { 211 Main.warn("More permits than it should be");211 Logging.warn("More permits than it should be"); 212 212 } 213 213 }
Note:
See TracChangeset
for help on using the changeset viewer.