From 5664fd4644c78f4571a1a72e6b9f0511fb10720a Mon Sep 17 00:00:00 2001 From: abranson Date: Tue, 2 Aug 2011 22:10:28 +0200 Subject: Finished move to generics. Enforced 1.6 compliance for now. No errors or warnings :) --- source/com/c2kernel/lookup/EntityPath.java | 2 +- source/com/c2kernel/lookup/LDAPPropertyManager.java | 2 +- source/com/c2kernel/lookup/LDAPRoleManager.java | 4 ++-- source/com/c2kernel/lookup/Path.java | 4 ++-- source/com/c2kernel/lookup/RolePath.java | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) mode change 100755 => 100644 source/com/c2kernel/lookup/EntityPath.java mode change 100755 => 100644 source/com/c2kernel/lookup/LDAPPropertyManager.java mode change 100755 => 100644 source/com/c2kernel/lookup/LDAPRoleManager.java mode change 100755 => 100644 source/com/c2kernel/lookup/Path.java mode change 100755 => 100644 source/com/c2kernel/lookup/RolePath.java (limited to 'source/com/c2kernel/lookup') diff --git a/source/com/c2kernel/lookup/EntityPath.java b/source/com/c2kernel/lookup/EntityPath.java old mode 100755 new mode 100644 index 079f171..3a24228 --- a/source/com/c2kernel/lookup/EntityPath.java +++ b/source/com/c2kernel/lookup/EntityPath.java @@ -127,7 +127,7 @@ public class EntityPath extends Path if (sysKey < 0 || sysKey > maxSysKey) throw new InvalidEntityPathException("System key "+sysKey+" out of range"); String stringPath = Integer.toString(sysKey); - ArrayList newKey = new ArrayList(); + ArrayList newKey = new ArrayList(); for (int i=0; i propbag = new ArrayList(); LDAPAttribute props = entityEntry.getAttribute("cristalprop"); for (Enumeration e = props.getStringValues(); e.hasMoreElements();) { String thisProp = (String)e.nextElement(); diff --git a/source/com/c2kernel/lookup/LDAPRoleManager.java b/source/com/c2kernel/lookup/LDAPRoleManager.java old mode 100755 new mode 100644 index a9b6b23..a45da13 --- a/source/com/c2kernel/lookup/LDAPRoleManager.java +++ b/source/com/c2kernel/lookup/LDAPRoleManager.java @@ -113,7 +113,7 @@ public class LDAPRoleManager { } String[] res = LDAPLookupUtils.getAllAttributeValues(roleEntry,"uniqueMember"); - ArrayList agents = new ArrayList(); + ArrayList agents = new ArrayList(); for (int i=0; i roleList = new ArrayList(); while(roles.hasMoreElements()) { diff --git a/source/com/c2kernel/lookup/Path.java b/source/com/c2kernel/lookup/Path.java old mode 100755 new mode 100644 index b189910..b713493 --- a/source/com/c2kernel/lookup/Path.java +++ b/source/com/c2kernel/lookup/Path.java @@ -124,7 +124,7 @@ public abstract class Path implements Serializable */ public void setPath(String path) { - ArrayList newPath = new ArrayList(); + ArrayList newPath = new ArrayList(); StringTokenizer tok = new StringTokenizer(path, delim); if (tok.hasMoreTokens()) { String first = tok.nextToken(); @@ -171,7 +171,7 @@ public abstract class Path implements Serializable if (dn.endsWith(root)) dn = dn.substring(0, dn.lastIndexOf(root)); - ArrayList newPath = new ArrayList(); + ArrayList newPath = new ArrayList(); StringTokenizer tok = new StringTokenizer(dn, ","); while (tok.hasMoreTokens()) { String nextPath = tok.nextToken(); diff --git a/source/com/c2kernel/lookup/RolePath.java b/source/com/c2kernel/lookup/RolePath.java old mode 100755 new mode 100644 index df26eae..672bdbf --- a/source/com/c2kernel/lookup/RolePath.java +++ b/source/com/c2kernel/lookup/RolePath.java @@ -63,7 +63,7 @@ public class RolePath extends DomainPath public Enumeration getChildren() { AgentPath[] agents = getAgentsWithRole(); - Vector children = new Vector(agents.length); + Vector children = new Vector(agents.length); for (int i = 0; i < agents.length; i++) children.add(i, agents[i]); return children.elements(); -- cgit v1.2.3