Skip to content

Commit e7a1fa6

Browse files
committed
Remove redundant array length check in getInterfaceAbstractContracts
1 parent eb22a79 commit e7a1fa6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

org.eclipse.jdt.core.compiler.batch/src/org/eclipse/jdt/internal/compiler/lookup/ReferenceBinding.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2358,7 +2358,7 @@ public void detectWrapperResource() {
23582358
}
23592359

23602360
LookupEnvironment environment = scope.environment();
2361-
if (methods != null && methods.length > 0) {
2361+
if (methods != null) {
23622362
for (final MethodBinding method : methods) {
23632363
if (method == null || method.isStatic() || method.redeclaresPublicObjectMethod(scope) || method.isPrivate())
23642364
continue;

0 commit comments

Comments
 (0)