Changeset 7678 in josm for trunk/src/org/openstreetmap/josm/Main.java
- Timestamp:
- 2014-10-30T16:49:19+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/Main.java
r7634 r7678 1562 1562 1563 1563 /** 1564 * Replies the base URL for browsing information about a primitive. 1565 * @return the base URL, i.e. https://www.openstreetmap.org 1566 * @since 7678 1567 */ 1568 public static String getBaseBrowseUrl() { 1569 if (Main.pref != null) 1570 return Main.pref.get("osm-browse.url", getOSMWebsite()); 1571 return getOSMWebsite(); 1572 } 1573 1574 /** 1575 * Replies the base URL for browsing information about a user. 1576 * @return the base URL, i.e. https://www.openstreetmap.org/user 1577 * @since 7678 1578 */ 1579 public static String getBaseUserUrl() { 1580 if (Main.pref != null) 1581 return Main.pref.get("osm-user.url", getOSMWebsite() + "/user"); 1582 return getOSMWebsite() + "/user"; 1583 } 1584 1585 /** 1564 1586 * Determines if we are currently running on OSX. 1565 1587 * @return {@code true} if we are currently running on OSX
Note:
See TracChangeset
for help on using the changeset viewer.