Ignore:
Timestamp:
2014-01-19T21:51:35+01:00 (6 years ago)
Author:
simon04
Message:

see #7326 - History dialog: move user id to toolbar, remember size/position

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/AbstractInfoAction.java

    r6679 r6743  
    66
    77import java.awt.event.ActionEvent;
    8 import java.net.URL;
    98import java.util.ArrayList;
    109import java.util.Collection;
     
    7372    }
    7473
    75     protected void launchBrowser(URL url) {
    76         OpenBrowser.displayUrl(
    77                 url.toString()
    78         );
    79     }
    80 
    81     protected void launchBrowser(String url) {
    82         OpenBrowser.displayUrl(
    83                 url
    84         );
    85     }
    86 
    8774    public static boolean confirmLaunchMultiple(int numBrowsers) {
    8875        String msg  = /* for correct i18n of plural forms - see #9110 */ trn(
     
    149136            return;
    150137        for(int i = 0; i < max; i++) {
    151             launchBrowser(createInfoUrl(primitivesToShow.get(i)));
     138            OpenBrowser.displayUrl(createInfoUrl(primitivesToShow.get(i)));
    152139        }
    153140    }
Note: See TracChangeset for help on using the changeset viewer.