Ignore:
Timestamp:
2024-05-14T21:30:11+02:00 (2 years ago)
Author:
taylor.smock
Message:

See #23671: Deprecate Utils#isBlank and replace instances of it with Utils#isStripEmpty

As noted in r19079, the two functions were identical in behavior.

File:
1 edited

Legend:

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

    r18723 r19080  
    8282    @Override
    8383    public void sign(HttpClient client) throws OAuthException {
    84         if (!Utils.isBlank(this.oauthParameters.getApiUrl())
     84        if (!Utils.isStripEmpty(this.oauthParameters.getApiUrl())
    8585                && !this.oauthParameters.getApiUrl().contains(client.getURL().getHost())) {
    8686            String host = URI.create(this.oauthParameters.getAccessTokenUrl()).getHost();
Note: See TracChangeset for help on using the changeset viewer.