Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff McAffer2007-11-03 12:54:18 +0000
committerJeff McAffer2007-11-03 12:54:18 +0000
commit11397eb218b6c3964c0c903de1776c2b7e2dd15a (patch)
tree03507ba2575ec8cedf87b4e402e8e5d3c5d6d30f /bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/SimpleArtifactRepository.java
parent9032157587295febbb71fcd42f4a5ef4025dca03 (diff)
downloadrt.equinox.p2-11397eb218b6c3964c0c903de1776c2b7e2dd15a.tar.gz
rt.equinox.p2-11397eb218b6c3964c0c903de1776c2b7e2dd15a.tar.xz
rt.equinox.p2-11397eb218b6c3964c0c903de1776c2b7e2dd15a.zip
change validateSteps to checkStatus
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/SimpleArtifactRepository.java')
-rw-r--r--bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/SimpleArtifactRepository.java4
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/SimpleArtifactRepository.java b/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/SimpleArtifactRepository.java
index aa19e35d4..d318d04a8 100644
--- a/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/SimpleArtifactRepository.java
+++ b/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/SimpleArtifactRepository.java
@@ -201,7 +201,7 @@ public class SimpleArtifactRepository extends AbstractArtifactRepository impleme
destination = addPostSteps(handler, descriptor, destination, monitor);
destination = handler.createAndLink(descriptor.getProcessingSteps(), descriptor, destination, monitor);
destination = addPreSteps(handler, descriptor, destination, monitor);
- IStatus status = handler.validateSteps(destination);
+ IStatus status = handler.checkStatus(destination);
if (!status.isOK() && status.getSeverity() != IStatus.INFO)
return status;
String toDownload = getLocation(descriptor);
@@ -299,7 +299,7 @@ public class SimpleArtifactRepository extends AbstractArtifactRepository impleme
// TODO the count check is a bit bogus but helps in some error cases (e.g., the optimizer)
// where errors occured in a processing step earlier in the chain. We likely need a better
// or more explicit way of handling this case.
- if (ProcessingStepHandler.validateSteps(destination).isOK() && count > 0) {
+ if (ProcessingStepHandler.checkStatus(destination).isOK() && count > 0) {
((ArtifactDescriptor) descriptor).setProperty(IArtifactDescriptor.DOWNLOAD_SIZE, Long.toString(count));
addDescriptor(descriptor);
}

Back to the top