#831 - Polishing.
Applied some recommendations provided by IntelliJ that I stumbled over while reviewing the changes.
This commit is contained in:
@@ -38,7 +38,7 @@ public class UriTemplateFactory {
|
||||
* @param mapping must not be {@literal null} or empty.
|
||||
* @return
|
||||
*/
|
||||
public static UriTemplate templateFor(@Nullable String mapping) {
|
||||
public static UriTemplate templateFor(String mapping) {
|
||||
|
||||
Assert.hasText(mapping, "Mapping must not be null or empty!");
|
||||
|
||||
|
||||
@@ -128,7 +128,7 @@ public class RepresentationModelProcessorInvoker {
|
||||
}
|
||||
}
|
||||
|
||||
return (T) invokeProcessorsFor(Object.class.cast(value), referenceType);
|
||||
return (T) invokeProcessorsFor((Object) value, referenceType);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user