Skip to content

Commit

Permalink
Fix enabled check for metadata reference following
Browse files Browse the repository at this point in the history
  • Loading branch information
tivervac authored and laeubi committed May 3, 2024
1 parent e536471 commit c052150
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ private static void loadMetadataRepositories(URI uri, String id, Map<URI, IMetad
Collection<IRepositoryReference> 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 {
Expand Down

0 comments on commit c052150

Please sign in to comment.