Changeset 6248 in josm for trunk/src/org/openstreetmap/josm/actions/AbstractInfoAction.java
- Timestamp:
- 2013-09-23T16:47:50+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/AbstractInfoAction.java
r6084 r6248 43 43 String ret = pattern.matcher(baseUrl).replaceAll("/browse"); 44 44 if (ret.equals(baseUrl)) { 45 System.out.println(tr("WARNING: unexpected format of API base URL. Redirection to info or history page for OSM object will probably fail. API base URL is: ''{0}''",baseUrl));45 Main.warn(tr("Unexpected format of API base URL. Redirection to info or history page for OSM object will probably fail. API base URL is: ''{0}''",baseUrl)); 46 46 } 47 47 if (ret.startsWith("http://api.openstreetmap.org/")) { … … 62 62 String ret = pattern.matcher(baseUrl).replaceAll("/user"); 63 63 if (ret.equals(baseUrl)) { 64 System.out.println(tr("WARNING: unexpected format of API base URL. Redirection to user page for OSM user will probably fail. API base URL is: ''{0}''",baseUrl));64 Main.warn(tr("Unexpected format of API base URL. Redirection to user page for OSM user will probably fail. API base URL is: ''{0}''",baseUrl)); 65 65 } 66 66 if (ret.startsWith("http://api.openstreetmap.org/")) {
Note:
See TracChangeset
for help on using the changeset viewer.