Address Checkstyle violations

This commit is contained in:
Andrew Gaul 2013-12-01 23:19:24 -08:00
parent 61b99641ac
commit b17adea879
2 changed files with 4 additions and 4 deletions

View File

@ -33,15 +33,15 @@ public interface TokenRequestFormat {
/**
* Transforms the provided HttpRequest into a particular token request with a specific format.
*/
public <R extends HttpRequest> R formatRequest(R httpRequest, TokenRequest tokenRequest);
<R extends HttpRequest> R formatRequest(R httpRequest, TokenRequest tokenRequest);
/**
* The name of the type of the token request, e.g., "JWT"
*/
public String getTypeName();
String getTypeName();
/**
* The claims that must be present in the token request for it to be valid.
*/
public Set<String> requiredClaims();
Set<String> requiredClaims();
}

View File

@ -115,7 +115,7 @@ public class OAuthCredentialsSupplier implements Supplier<OAuthCredentials> {
} catch (UncheckedExecutionException e) {
Throwable authorizationException = getFirstThrowableOfType(e, AuthorizationException.class);
if (authorizationException != null) {
throw ((AuthorizationException) authorizationException);
throw (AuthorizationException) authorizationException;
}
throw propagate(e);
}