Browse Source

DATACMNS-1603 - Improve log message wording.

2.2.x
Mark Paluch 6 years ago
parent
commit
cf8ceb2c8d
No known key found for this signature in database
GPG Key ID: 51A00FA751B91849
  1. 4
      src/main/java/org/springframework/data/convert/CustomConversions.java
  2. 4
      src/main/java/org/springframework/data/web/PagedResourcesAssemblerArgumentResolver.java

4
src/main/java/org/springframework/data/convert/CustomConversions.java

@ -54,8 +54,8 @@ import org.springframework.util.Assert; @@ -54,8 +54,8 @@ import org.springframework.util.Assert;
@Slf4j
public class CustomConversions {
private static final String READ_CONVERTER_NOT_SIMPLE = "Registering converter from %s to %s as reading converter although it doesn't convert from a store-supported type! You might wanna check you annotation setup at the converter implementation.";
private static final String WRITE_CONVERTER_NOT_SIMPLE = "Registering converter from %s to %s as writing converter although it doesn't convert to a store-supported type! You might wanna check you annotation setup at the converter implementation.";
private static final String READ_CONVERTER_NOT_SIMPLE = "Registering converter from %s to %s as reading converter although it doesn't convert from a store-supported type! You might want to check you annotation setup at the converter implementation.";
private static final String WRITE_CONVERTER_NOT_SIMPLE = "Registering converter from %s to %s as writing converter although it doesn't convert to a store-supported type! You might want to check you annotation setup at the converter implementation.";
private static final String NOT_A_CONVERTER = "Converter %s is neither a Spring Converter, GenericConverter or ConverterFactory!";
private static final List<Object> DEFAULT_CONVERTERS;

4
src/main/java/org/springframework/data/web/PagedResourcesAssemblerArgumentResolver.java

@ -50,8 +50,8 @@ public class PagedResourcesAssemblerArgumentResolver implements HandlerMethodArg @@ -50,8 +50,8 @@ public class PagedResourcesAssemblerArgumentResolver implements HandlerMethodArg
private static final Logger LOGGER = LoggerFactory.getLogger(PagedResourcesAssemblerArgumentResolver.class);
private static final String SUPERFLOUS_QUALIFIER = "Found qualified {} parameter, but a unique unqualified {} parameter. Using that one, but you might wanna check your controller method configuration!";
private static final String PARAMETER_AMBIGUITY = "Discovered muliple parameters of type Pageable but no qualifier annotations to disambiguate!";
private static final String SUPERFLOUS_QUALIFIER = "Found qualified {} parameter, but a unique unqualified {} parameter. Using that one, but you might want to check your controller method configuration!";
private static final String PARAMETER_AMBIGUITY = "Discovered multiple parameters of type Pageable but no qualifier annotations to disambiguate!";
private final HateoasPageableHandlerMethodArgumentResolver resolver;
private final MethodLinkBuilderFactory<?> linkBuilderFactory;

Loading…
Cancel
Save