Ignore:
Timestamp:
2015-06-27T21:43:35+02:00 (9 years ago)
Author:
Don-vip
Message:

fix remaining checkstyle issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/oauth/OsmOAuthAuthorizationClient.java

    r8510 r8540  
    317317            SessionId sessionId = extractOsmSession(connection);
    318318            if (sessionId == null)
    319                 throw new OsmOAuthAuthorizationException(tr("OSM website did not return a session cookie in response to ''{0}'',", url.toString()));
     319                throw new OsmOAuthAuthorizationException(
     320                        tr("OSM website did not return a session cookie in response to ''{0}'',", url.toString()));
    320321            return sessionId;
    321322        } catch (IOException e) {
     
    347348            sessionId.token = extractToken(connection);
    348349            if (sessionId.token == null)
    349                 throw new OsmOAuthAuthorizationException(tr("OSM website did not return a session cookie in response to ''{0}'',", url.toString()));
     350                throw new OsmOAuthAuthorizationException(tr("OSM website did not return a session cookie in response to ''{0}'',",
     351                        url.toString()));
    350352        } catch (IOException e) {
    351353            throw new OsmOAuthAuthorizationException(e);
     
    396398            int retCode = connection.getResponseCode();
    397399            if (retCode != HttpURLConnection.HTTP_MOVED_TEMP)
    398                 throw new OsmOAuthAuthorizationException(tr("Failed to authenticate user ''{0}'' with password ''***'' as OAuth user", userName));
     400                throw new OsmOAuthAuthorizationException(tr("Failed to authenticate user ''{0}'' with password ''***'' as OAuth user",
     401                        userName));
    399402        } catch (OsmOAuthAuthorizationException e) {
    400403            throw new OsmLoginFailedException(e.getCause());
Note: See TracChangeset for help on using the changeset viewer.