Ignore:
Timestamp:
2013-09-21T02:16:38+02:00 (6 years ago)
Author:
Don-vip
Message:

FindBugs - fix potential NPE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/oauth/OAuthParameters.java

    r6077 r6243  
    6868        parameters.setAccessTokenUrl(DEFAULT_ACCESS_TOKEN_URL);
    6969        parameters.setAuthoriseUrl(DEFAULT_AUTHORISE_URL);
    70         if(!apiUrl.equals(OsmApi.DEFAULT_API_URL)) {
     70        if (!OsmApi.DEFAULT_API_URL.equals(apiUrl)) {
    7171            try {
    7272                String host = new URL(apiUrl).getHost();
Note: See TracChangeset for help on using the changeset viewer.