diff options
author | Mykola Nikishov | 2019-01-21 13:52:14 +0000 |
---|---|---|
committer | Mykola Nikishov | 2019-01-21 13:53:36 +0000 |
commit | 7a105c5a0b087521787a2737922682137e13d0a3 (patch) | |
tree | 4f837b29f8d65a37075e005710be55218e896da2 | |
parent | aa0abd885ab5e73a3677c9161c24d431dfe816b2 (diff) | |
download | rt.equinox.p2-7a105c5a0b087521787a2737922682137e13d0a3.tar.gz rt.equinox.p2-7a105c5a0b087521787a2737922682137e13d0a3.tar.xz rt.equinox.p2-7a105c5a0b087521787a2737922682137e13d0a3.zip |
Remove unused parameter from SimpleArtifactRepository's private method
Change-Id: I6fa74976a18dfc492aab8079c12efd30c551c664
Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
-rw-r--r-- | bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/simple/SimpleArtifactRepository.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/simple/SimpleArtifactRepository.java b/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/simple/SimpleArtifactRepository.java index 6a1b96495..6b4e59349 100644 --- a/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/simple/SimpleArtifactRepository.java +++ b/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/simple/SimpleArtifactRepository.java @@ -641,7 +641,7 @@ public class SimpleArtifactRepository extends AbstractArtifactRepository impleme if (baseLocation == null) return new Status(IStatus.ERROR, Activator.ID, NLS.bind(Messages.no_location, descriptor)); URI mirrorLocation = getMirror(baseLocation, monitor); - IStatus status = downloadArtifact(descriptor, mirrorLocation, destination, monitor); + IStatus status = downloadArtifact(mirrorLocation, destination, monitor); IStatus result = reportStatus(descriptor, destination, status); // if the original download went reasonably but the reportStatus found some issues // (e..g, in the processing steps/validators) then mark the mirror as bad and return @@ -711,7 +711,7 @@ public class SimpleArtifactRepository extends AbstractArtifactRepository impleme return status; } - private IStatus downloadArtifact(IArtifactDescriptor descriptor, URI mirrorLocation, OutputStream destination, IProgressMonitor monitor) { + private IStatus downloadArtifact(URI mirrorLocation, OutputStream destination, IProgressMonitor monitor) { //Bug 340352: transport has performance overhead of 100ms and more, bypass it for local copies IStatus result = Status.OK_STATUS; if (SimpleArtifactRepositoryFactory.PROTOCOL_FILE.equals(mirrorLocation.getScheme())) |