diff --git a/tycho-core/src/main/java/org/eclipse/tycho/p2/resolver/URITargetDefinitionContent.java b/tycho-core/src/main/java/org/eclipse/tycho/p2/resolver/URITargetDefinitionContent.java index ce36f8fe1f..36f05b2b82 100644 --- a/tycho-core/src/main/java/org/eclipse/tycho/p2/resolver/URITargetDefinitionContent.java +++ b/tycho-core/src/main/java/org/eclipse/tycho/p2/resolver/URITargetDefinitionContent.java @@ -125,7 +125,7 @@ private static void loadMetadataRepositories(URI uri, String id, Map references = repository.getReferences(); subMonitor.setWorkRemaining(references.size()); for (IRepositoryReference reference : references) { - if ((reference.getOptions() | IRepository.ENABLED) != 0) { + if ((reference.getOptions() & IRepository.ENABLED) != 0) { URI location = reference.getLocation(); if (reference.getType() == IRepository.TYPE_METADATA) { try {