Skip to content

Commit 14ecc03

Browse files
committed
Polishing
1 parent c9fa627 commit 14ecc03

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

spring-core/src/main/java/org/springframework/core/ResolvableType.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -973,7 +973,7 @@ public static ResolvableType forClass(@Nullable Class<?> clazz) {
973973
* {@link Class#isAssignableFrom}, which this serves as a wrapper for.
974974
* For example: {@code ResolvableType.forRawClass(List.class)}.
975975
* @param clazz the class to introspect ({@code null} is semantically
976-
* equivalent to {@code Object.class} for typical use cases here}
976+
* equivalent to {@code Object.class} for typical use cases here)
977977
* @return a {@link ResolvableType} for the specified class
978978
* @since 4.2
979979
* @see #forClass(Class)
@@ -1320,7 +1320,7 @@ private static ResolvableType[] forTypes(Type[] types, @Nullable VariableResolve
13201320

13211321
/**
13221322
* Return a {@link ResolvableType} for the specified {@link Type}.
1323-
* Note: The resulting {@link ResolvableType} may not be {@link Serializable}.
1323+
* <p>Note: The resulting {@link ResolvableType} instance may not be {@link Serializable}.
13241324
* @param type the source type (potentially {@code null})
13251325
* @return a {@link ResolvableType} for the specified {@link Type}
13261326
* @see #forType(Type, ResolvableType)
@@ -1331,7 +1331,8 @@ public static ResolvableType forType(@Nullable Type type) {
13311331

13321332
/**
13331333
* Return a {@link ResolvableType} for the specified {@link Type} backed by the given
1334-
* owner type. Note: The resulting {@link ResolvableType} may not be {@link Serializable}.
1334+
* owner type.
1335+
* <p>Note: The resulting {@link ResolvableType} instance may not be {@link Serializable}.
13351336
* @param type the source type or {@code null}
13361337
* @param owner the owner type used to resolve variables
13371338
* @return a {@link ResolvableType} for the specified {@link Type} and owner
@@ -1348,7 +1349,7 @@ public static ResolvableType forType(@Nullable Type type, @Nullable ResolvableTy
13481349

13491350
/**
13501351
* Return a {@link ResolvableType} for the specified {@link ParameterizedTypeReference}.
1351-
* Note: The resulting {@link ResolvableType} may not be {@link Serializable}.
1352+
* <p>Note: The resulting {@link ResolvableType} instance may not be {@link Serializable}.
13521353
* @param typeReference the reference to obtain the source type from
13531354
* @return a {@link ResolvableType} for the specified {@link ParameterizedTypeReference}
13541355
* @since 4.3.12

spring-web/src/main/java/org/springframework/web/util/HierarchicalUriComponents.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,6 @@ else if (!type.isAllowed(ch)) {
416416

417417
@Override
418418
protected HierarchicalUriComponents expandInternal(UriTemplateVariables uriVariables) {
419-
420419
Assert.state(!this.encodeState.equals(EncodeState.FULLY_ENCODED),
421420
"URI components already encoded, and could not possibly contain '{' or '}'.");
422421

0 commit comments

Comments
 (0)