From 379ed8a0e133bee650e0acb24f6b743f657a50d0 Mon Sep 17 00:00:00 2001 From: abranson Date: Thu, 4 Aug 2011 16:08:49 +0200 Subject: Last bit of cleanup honest New castor and dependent commons libs --- source/com/c2kernel/lookup/Path.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/com/c2kernel/lookup/Path.java') diff --git a/source/com/c2kernel/lookup/Path.java b/source/com/c2kernel/lookup/Path.java index 4966d1e..16d4f07 100644 --- a/source/com/c2kernel/lookup/Path.java +++ b/source/com/c2kernel/lookup/Path.java @@ -259,7 +259,7 @@ public abstract class Path implements Serializable return mSysKey; } - public Enumeration getChildren() { + public Enumeration getChildren() { String filter = "objectclass=*"; LDAPSearchConstraints searchCons = new LDAPSearchConstraints(); searchCons.setBatchSize(10); @@ -268,9 +268,9 @@ public abstract class Path implements Serializable } public Path find(String name) throws ObjectNotFoundException { - Enumeration e = Gateway.getLDAPLookup().search(this, name); + Enumeration e = Gateway.getLDAPLookup().search(this, name); if (e.hasMoreElements()) { - Path thisPath =(Path)e.nextElement(); + Path thisPath = e.nextElement(); if (e.hasMoreElements()) throw new ObjectNotFoundException("More than one match for "+name, ""); return thisPath; -- cgit v1.2.3