浏览代码

Fix typo in getClaimAsMap docstring

Parker Mauney 1 年之前
父节点
当前提交
8e93e4715f

+ 1 - 1
oauth2/oauth2-core/src/main/java/org/springframework/security/oauth2/core/ClaimAccessor.java

@@ -134,7 +134,7 @@ public interface ClaimAccessor {
 	 * @param claim the name of the claim
 	 * @return the claim value or {@code null} if the claim does not exist
 	 * @throws IllegalArgumentException if the claim value cannot be converted to a
-	 * {@code List}
+	 * {@code Map}
 	 * @throws NullPointerException if the claim value is {@code null}
 	 */
 	@SuppressWarnings("unchecked")