Skip to content

Commit

Permalink
Correct InterceptorBindingRegistrarTest
Browse files Browse the repository at this point in the history
  • Loading branch information
manovotn committed Oct 23, 2019
1 parent caf49f6 commit 258532e
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@

import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import java.util.Collection;
import java.util.Collections;
import java.util.Map;
import java.util.Set;

import javax.annotation.Priority;
import javax.inject.Inject;
Expand Down Expand Up @@ -41,8 +42,8 @@ public class InterceptorBindingRegistrarTest {
public void execute(BuildContext context) {
context.produce(new InterceptorBindingRegistrarBuildItem(new InterceptorBindingRegistrar() {
@Override
public Collection<DotName> registerAdditionalBindings() {
return Collections.singleton(DotName.createSimple(NotAnInterceptorBinding.class.getName()));
public Map<DotName, Set<String>> registerAdditionalBindings() {
return Collections.singletonMap(DotName.createSimple(NotAnInterceptorBinding.class.getName()), Collections.emptySet());
}

}));
Expand Down

0 comments on commit 258532e

Please sign in to comment.