diff options
| author | Andrew Branson <andrew.branson@cern.ch> | 2014-09-22 17:13:17 +0200 |
|---|---|---|
| committer | Andrew Branson <andrew.branson@cern.ch> | 2014-09-22 17:13:17 +0200 |
| commit | a2a78637799ee2cfa94f8f38cd389fb2e33295ac (patch) | |
| tree | a6a2829713d95b8ec61e7d86c6f03265f63f3f16 | |
| parent | 4579d480441683973121cf6288aae21b475d75c0 (diff) | |
Removed ItemPath.fromUUIDString
| -rw-r--r-- | src/main/java/com/c2kernel/lookup/ldap/LDAPLookup.java | 4 |
1 files 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) {
|
