File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
spring-context/src/main/java/org/springframework/cache/interceptor Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2012 the original author or authors.
2
+ * Copyright 2002-2013 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
18
18
19
19
import java .lang .reflect .Method ;
20
20
21
- import org .springframework .cache .interceptor .KeyGenerator ;
22
-
23
21
/**
24
22
* Default key generator. Returns {@value #NO_PARAM_KEY} if no
25
23
* parameters are provided, the parameter itself if only one is given or
36
34
* @author Costin Leau
37
35
* @author Chris Beams
38
36
* @since 3.1
39
- * @see SimpleKeyGenerator
40
- * @see org.springframework.cache.annotation.CachingConfigurer
37
+ * @deprecated as of Spring 4.0, in favor of {@link SimpleKeyGenerator}
38
+ * or custom {@link KeyGenerator} implementations based on hash codes
41
39
*/
40
+ @ Deprecated
42
41
public class DefaultKeyGenerator implements KeyGenerator {
43
42
44
43
public static final int NO_PARAM_KEY = 0 ;
You can’t perform that action at this time.
0 commit comments