JWS coment/format cleanup

pull/210/head
Justin Richer 2012-08-27 14:45:02 -04:00
parent e4470c9361
commit 21ff134383
1 changed files with 3 additions and 3 deletions

View File

@ -37,8 +37,9 @@ public enum JwsAlgorithm {
RS384("SHA384withRSA", "RS384"), RS384("SHA384withRSA", "RS384"),
RS512("SHA512withRSA", "RS512"); RS512("SHA512withRSA", "RS512");
/** /**
* Returns the Algorithm for the name * Returns the Algorithm for the JWS-registered name
* *
* @param name * @param name
* @return * @return
@ -51,8 +52,7 @@ public enum JwsAlgorithm {
} }
// corresponding type not found // corresponding type not found
throw new IllegalArgumentException( throw new IllegalArgumentException("JwsAlgorithm name " + name + " does not have a corresponding JwsAlgorithm: expected one of [" + StringUtils.join(JwsAlgorithm.values(), ", ") + "]");
"JwsAlgorithm name " + name + " does not have a corresponding JwsAlgorithm: expected one of [" + StringUtils.join(JwsAlgorithm.values(), ", ") + "]");
} }
private final String standardName; private final String standardName;