Skip to content

Commit 97b8d45

Browse files
committed
DATACMNS-681 - Removed some compiler warnings.
Removed unused constants. Removed usage of deprecated method in RepositoryBeanDefinitionParser.
1 parent d67c438 commit 97b8d45

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/org/springframework/data/repository/query/Parameters.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2008-2014 the original author or authors.
2+
* Copyright 2008-2015 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -37,6 +37,7 @@
3737
*/
3838
public abstract class Parameters<S extends Parameters<S, T>, T extends Parameter> implements Iterable<T> {
3939

40+
@SuppressWarnings("unchecked")//
4041
public static final List<Class<?>> TYPES = Arrays.asList(Pageable.class, Sort.class);
4142

4243
private static final String PARAM_ON_SPECIAL = format("You must not user @%s on a parameter typed %s or %s",

0 commit comments

Comments
 (0)