From a2a78637799ee2cfa94f8f38cd389fb2e33295ac Mon Sep 17 00:00:00 2001 From: Andrew Branson Date: Mon, 22 Sep 2014 17:13:17 +0200 Subject: Removed ItemPath.fromUUIDString --- src/main/java/com/c2kernel/lookup/ldap/LDAPLookup.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/c2kernel/lookup/ldap/LDAPLookup.java b/src/main/java/com/c2kernel/lookup/ldap/LDAPLookup.java index e5497f2..7d4c53f 100644 --- a/src/main/java/com/c2kernel/lookup/ldap/LDAPLookup.java +++ b/src/main/java/com/c2kernel/lookup/ldap/LDAPLookup.java @@ -176,7 +176,7 @@ public class LDAPLookup implements LookupManager{ + entityKey); String objClass = LDAPLookupUtils.getFirstAttributeValue(domEntry, "objectClass"); - ItemPath referencedPath = ItemPath.fromUUIDString(entityKey); + ItemPath referencedPath = new ItemPath(entityKey); if (objClass.equals("cristalagent")) return new AgentPath(referencedPath); @@ -401,7 +401,7 @@ public class LDAPLookup implements LookupManager{ // extract syskey try { String entityKeyStr = LDAPLookupUtils.getFirstAttributeValue(entry, "cn"); - entityKey = ItemPath.fromUUIDString(entityKeyStr); + entityKey = new ItemPath(entityKeyStr); } catch (ObjectNotFoundException ex) { entityKey = null; } catch (InvalidItemPathException ex) { -- cgit v1.2.3