[CDI] fix test cases
@@ -5,14 +5,12 @@ import java.util.concurrent.Callable;
import javax.inject.Inject;
import org.osgi.service.cdi.annotations.Component;
-import org.osgi.service.cdi.annotations.Filter;
import org.osgi.service.cdi.annotations.Reference;
@Component
public class Client implements Callable<String> {
@Inject
- @Reference
- @Filter("(name=intermediate)")
+ @Reference(target = "(name=intermediate)")
Callable<String> callable;
public String call() throws Exception {
