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
  • Loading branch information
tivervac authored and laeubi committed Aug 22, 2024
1 parent 5737192 commit 0349f68
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 0349f68

Please sign in to comment.