summaryrefslogtreecommitdiff
path: root/source/com/c2kernel/lifecycle/instance/predefined/Erase.java
diff options
context:
space:
mode:
authorabranson <andrew.branson@cern.ch>2011-08-04 16:08:49 +0200
committerabranson <andrew.branson@cern.ch>2011-08-04 16:08:49 +0200
commit379ed8a0e133bee650e0acb24f6b743f657a50d0 (patch)
treebdcac37cabe3f2f3d40715519b830469dc9e63ad /source/com/c2kernel/lifecycle/instance/predefined/Erase.java
parent0ec8481c10cd8277d84c7c1a785483a0a739e5a0 (diff)
Last bit of cleanup honest
New castor and dependent commons libs
Diffstat (limited to 'source/com/c2kernel/lifecycle/instance/predefined/Erase.java')
-rw-r--r--source/com/c2kernel/lifecycle/instance/predefined/Erase.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/com/c2kernel/lifecycle/instance/predefined/Erase.java b/source/com/c2kernel/lifecycle/instance/predefined/Erase.java
index 07d76b1..ffdb07c 100644
--- a/source/com/c2kernel/lifecycle/instance/predefined/Erase.java
+++ b/source/com/c2kernel/lifecycle/instance/predefined/Erase.java
@@ -21,6 +21,7 @@ import com.c2kernel.common.InvalidTransitionException;
import com.c2kernel.lookup.AgentPath;
import com.c2kernel.lookup.DomainPath;
import com.c2kernel.lookup.EntityPath;
+import com.c2kernel.lookup.Path;
import com.c2kernel.persistency.ClusterStorage;
import com.c2kernel.process.Gateway;
import com.c2kernel.property.Property;
@@ -57,7 +58,7 @@ public class Erase extends PredefinedStep
Property name = (Property)Gateway.getStorage().get(entityPath.getSysKey(), ClusterStorage.PROPERTY+"/Name", null);
// get all domain paths
- Enumeration<?> domPaths = Gateway.getLDAPLookup().search(new DomainPath(), name.getValue());
+ Enumeration<Path> domPaths = Gateway.getLDAPLookup().search(new DomainPath(), name.getValue());
while (domPaths.hasMoreElements()) {
DomainPath path = (DomainPath)domPaths.nextElement();
// delete them