Ignore:
Timestamp:
2014-09-23T18:52:52+02:00 (10 years ago)
Author:
Don-vip
Message:

remove "external source" warnings for plugins hosted on https://github.com/JOSM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/plugins/PluginInformation.java

    r7294 r7582  
    296296            sb.append(" <a href=\"").append(link).append("\">").append(tr("More info...")).append("</a>");
    297297        }
    298         if (downloadlink != null && !downloadlink.startsWith("http://svn.openstreetmap.org/applications/editors/josm/dist/")
    299         && !downloadlink.startsWith("http://trac.openstreetmap.org/browser/applications/editors/josm/dist/")) {
     298        if (downloadlink != null
     299                && !downloadlink.startsWith("http://svn.openstreetmap.org/applications/editors/josm/dist/")
     300                && !downloadlink.startsWith("http://trac.openstreetmap.org/browser/applications/editors/josm/dist/")
     301                && !downloadlink.startsWith("https://github.com/JOSM/")) {
    300302            sb.append("<p>&nbsp;</p><p>"+tr("<b>Plugin provided by an external source:</b> {0}", downloadlink)+"</p>");
    301303        }
Note: See TracChangeset for help on using the changeset viewer.