DATAMONGO-2538 - Polishing.
Reformat code. Convert utility classes to abstract ones. Original pull request: #861.
This commit is contained in:
@@ -237,7 +237,6 @@ public class UntypedExampleMatcher implements ExampleMatcher {
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
|
||||
return ObjectUtils.nullSafeHashCode(delegate);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -47,12 +47,11 @@ import org.springframework.util.StringUtils;
|
||||
* @author Mark Paluch
|
||||
* @since 2.2
|
||||
*/
|
||||
final class AggregationUtils {
|
||||
abstract class AggregationUtils {
|
||||
|
||||
private static final ParameterBindingDocumentCodec CODEC = new ParameterBindingDocumentCodec();
|
||||
|
||||
private AggregationUtils() {
|
||||
throw new UnsupportedOperationException("This is a utility class and cannot be instantiated");
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -37,13 +37,12 @@ import org.springframework.util.StringUtils;
|
||||
* @author Christoph Strobl
|
||||
* @since 2.2
|
||||
*/
|
||||
final class CollationUtils {
|
||||
abstract class CollationUtils {
|
||||
|
||||
private static final ParameterBindingDocumentCodec CODEC = new ParameterBindingDocumentCodec();
|
||||
private static final Pattern PARAMETER_BINDING_PATTERN = Pattern.compile("\\?(\\d+)");
|
||||
|
||||
private CollationUtils() {
|
||||
throw new UnsupportedOperationException("This is a utility class and cannot be instantiated");
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user