diff options
author | Adam Young <ayoung@redhat.com> | 2011-12-05 17:15:56 -0500 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2011-12-07 12:30:49 -0500 |
commit | 948bfab248d4cb1faf00c5999f8a55580e89999f (patch) | |
tree | ff8f037c8841291b27cb7841d1ed4076928aa04b /pki/base/common/src/com/netscape/certsrv/base | |
parent | ec45d246502d8dedb59a97c4599d26657c464e56 (diff) | |
download | pki-948bfab248d4cb1faf00c5999f8a55580e89999f.tar.gz pki-948bfab248d4cb1faf00c5999f8a55580e89999f.tar.xz pki-948bfab248d4cb1faf00c5999f8a55580e89999f.zip |
TreeSet
ArraySet and AttributeNameEnumeration both were not updated to handfle Generics.
Neither are really needed, and are likely to introduce errors.
ArraySet can be safely replaced by TreeSet.
TreeSet provides a stricter ordering constraint than ArraySet did.
This will not hurt anything, and may actually be closer to the desired behavior
AttributeNameEnumeration was a thin wrapper around Vector.
It has been replaced with Vector<String>
In addition, this patch cleans up the Type safety in of the collections used in the related files.
removed files from cmake
Removed custom collection files
Supressed watnings generated by the clone method.
Diffstat (limited to 'pki/base/common/src/com/netscape/certsrv/base')
-rw-r--r-- | pki/base/common/src/com/netscape/certsrv/base/IConfigStore.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pki/base/common/src/com/netscape/certsrv/base/IConfigStore.java b/pki/base/common/src/com/netscape/certsrv/base/IConfigStore.java index 1793ff23c..aef83b1cf 100644 --- a/pki/base/common/src/com/netscape/certsrv/base/IConfigStore.java +++ b/pki/base/common/src/com/netscape/certsrv/base/IConfigStore.java @@ -249,7 +249,7 @@ public interface IConfigStore extends ISourceConfigStore { * Retrives and enumeration of all properties in this config-store. * @return An enumeration of all properties in this config-store */ - public Enumeration getPropertyNames(); + public Enumeration<String> getPropertyNames(); /** * Returns an enumeration of the names of the substores of @@ -258,7 +258,7 @@ public interface IConfigStore extends ISourceConfigStore { * @return An enumeration of the names of the sub-stores of this * config-store */ - public Enumeration getSubStoreNames(); + public Enumeration<String> getSubStoreNames(); /** * Commits all the data into file immediately. |