Skip to content

Commit

Permalink
Remove outdated synchronized block
Browse files Browse the repository at this point in the history
This was a workaround, but the issue was fixed upstream

(cherry picked from commit 0349f68)
  • Loading branch information
tivervac committed Aug 22, 2024
1 parent 16a6639 commit b01f980
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,7 @@ public IArtifactRequest createMirrorRequest(IArtifactKey key, IArtifactRepositor
@Override
public IArtifactRepository createRepository(URI location, String name, String type, Map<String, String> properties)
throws ProvisionException {
synchronized (RemoteArtifactRepositoryManager.class) {
// TODO the sync is required unless
// https://github.com/eclipse-equinox/p2/pull/415 is fixed
return delegate.createRepository(translate(location), name, type, properties);
}
return delegate.createRepository(translate(location), name, type, properties);
}

@Override
Expand Down

0 comments on commit b01f980

Please sign in to comment.