Changeset 8639 in josm for trunk/src/org


Ignore:
Timestamp:
2015-08-03T23:35:33+02:00 (5 years ago)
Author:
Don-vip
Message:

fix #11747 - NPE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/help/HelpUtil.java

    r8510 r8639  
    9999     */
    100100    public static String extractAbsoluteHelpTopic(String url) {
    101         if (!url.startsWith(getWikiBaseHelpUrl())) return null;
     101        if (url == null || !url.startsWith(getWikiBaseHelpUrl())) return null;
    102102        url = url.substring(getWikiBaseHelpUrl().length());
    103103        String prefix = getHelpTopicPrefix(LocaleType.ENGLISH);
Note: See TracChangeset for help on using the changeset viewer.