Changeset 33867 in osm
- Timestamp:
- 2017-11-22T00:22:26+01:00 (7 years ago)
- Location:
- applications/editors/josm/plugins/tag2link
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/tag2link/build.xml
r32680 r33867 5 5 <property name="commit.message" value="Commit message"/> 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 <property name="plugin.main.version" value="10 580"/>7 <property name="plugin.main.version" value="10899"/> 8 8 9 9 <property name="plugin.author" value="Don-vip & FrViPofm"/> -
applications/editors/josm/plugins/tag2link/src/org/openstreetmap/josm/plugins/tag2link/action/OpenLinkAction.java
r33150 r33867 32 32 import org.openstreetmap.josm.plugins.tag2link.data.LinkPost; 33 33 import org.openstreetmap.josm.tools.HttpClient; 34 import org.openstreetmap.josm.tools.Logging; 34 35 import org.openstreetmap.josm.tools.OpenBrowser; 35 36 … … 71 72 } 72 73 73 Main.info("Opening "+filename);74 Logging.info("Opening "+filename); 74 75 String result = OpenBrowser.displayUrl("file://"+filename); 75 76 if (result != null) { 76 Main.error(result);77 Logging.error(result); 77 78 } 78 79 } catch (IOException ex) { 79 Main.error(ex);80 Logging.error(ex); 80 81 } 81 82 } else { 82 Main.info("Opening "+link.url);83 Logging.info("Opening "+link.url); 83 84 String result = OpenBrowser.displayUrl(link.url); 84 85 if (result != null) { 85 Main.error(result);86 Logging.error(result); 86 87 } 87 88 }
Note:
See TracChangeset
for help on using the changeset viewer.