File tree Expand file tree Collapse file tree
org.eclipse.jdt.core.compiler.batch/src/org/eclipse/jdt/internal/compiler/lookup Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2364,8 +2364,8 @@ public void detectWrapperResource() {
23642364 continue ;
23652365 if (!method .isValidBinding ())
23662366 throw new InvalidBindingException ("Not a functional interface" ); //$NON-NLS-1$
2367- List <MethodBinding > superInterfaceContractsOfSelector = contractsBySelector .computeIfAbsent (String .valueOf (method .selector ), key -> new ArrayList <>());
2368- Iterator <MethodBinding > iterator = superInterfaceContractsOfSelector .iterator ();
2367+ List <MethodBinding > contractsOfSelector = contractsBySelector .computeIfAbsent (String .valueOf (method .selector ), key -> new ArrayList <>());
2368+ Iterator <MethodBinding > iterator = contractsOfSelector .iterator ();
23692369
23702370 // Does 'method' override any super interface method?
23712371 while (iterator .hasNext ()) {
@@ -2380,7 +2380,7 @@ public void detectWrapperResource() {
23802380 if (environment .globalOptions .isAnnotationBasedNullAnalysisEnabled ) {
23812381 ImplicitNullAnnotationVerifier .ensureNullnessIsKnown (method , scope );
23822382 }
2383- superInterfaceContractsOfSelector .add (method );
2383+ contractsOfSelector .add (method );
23842384 }
23852385 }
23862386
You can’t perform that action at this time.
0 commit comments