Skip to content

Commit 461d7a8

Browse files
committed
Avoid redefining getSpecificTargetClasses() in [Property|Index]Accessor
1 parent 00da781 commit 461d7a8

File tree

2 files changed

+0
-24
lines changed

2 files changed

+0
-24
lines changed

spring-expression/src/main/java/org/springframework/expression/IndexAccessor.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -45,18 +45,6 @@
4545
*/
4646
public interface IndexAccessor extends TargetedAccessor {
4747

48-
/**
49-
* Get the set of classes for which this index accessor should be called.
50-
* <p>Returning {@code null} or an empty array indicates this is a generic
51-
* index accessor that can be called in an attempt to access an index on any
52-
* type.
53-
* @return an array of classes that this index accessor is suitable for
54-
* (or {@code null} or an empty array if a generic index accessor)
55-
*/
56-
@Override
57-
@Nullable
58-
Class<?>[] getSpecificTargetClasses();
59-
6048
/**
6149
* Determine if this index accessor is able to read a specified index on a
6250
* specified target object.

spring-expression/src/main/java/org/springframework/expression/PropertyAccessor.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,6 @@
4343
*/
4444
public interface PropertyAccessor extends TargetedAccessor {
4545

46-
/**
47-
* Get the set of classes for which this property accessor should be called.
48-
* <p>Returning {@code null} or an empty array indicates this is a generic
49-
* property accessor that can be called in an attempt to access a property on
50-
* any type.
51-
* @return an array of classes that this property accessor is suitable for
52-
* (or {@code null} if a generic property accessor)
53-
*/
54-
@Override
55-
@Nullable
56-
Class<?>[] getSpecificTargetClasses();
57-
5846
/**
5947
* Called to determine if this property accessor is able to read a specified
6048
* property on a specified target object.

0 commit comments

Comments
 (0)