summaryrefslogtreecommitdiffstats
path: root/pki/base/common/src/com/netscape/cmscore/base/PropConfigStore.java
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2011-11-17 12:27:31 -0500
committerAdam Young <ayoung@redhat.com>2011-12-22 16:39:30 -0500
commit6373ddf8fdb15ecd841735910da728e55ad9582a (patch)
treedca05e58ab87470bf91345af46133a096f7707c7 /pki/base/common/src/com/netscape/cmscore/base/PropConfigStore.java
parentfd669390a16a0bce341df685c990f3159df11d53 (diff)
downloadpki-6373ddf8fdb15ecd841735910da728e55ad9582a.tar.gz
pki-6373ddf8fdb15ecd841735910da728e55ad9582a.tar.xz
pki-6373ddf8fdb15ecd841735910da728e55ad9582a.zip
type safety for certserv.base
more type safety
Diffstat (limited to 'pki/base/common/src/com/netscape/cmscore/base/PropConfigStore.java')
-rw-r--r--pki/base/common/src/com/netscape/cmscore/base/PropConfigStore.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/pki/base/common/src/com/netscape/cmscore/base/PropConfigStore.java b/pki/base/common/src/com/netscape/cmscore/base/PropConfigStore.java
index e54b19d90..be8e70078 100644
--- a/pki/base/common/src/com/netscape/cmscore/base/PropConfigStore.java
+++ b/pki/base/common/src/com/netscape/cmscore/base/PropConfigStore.java
@@ -125,7 +125,7 @@ public class PropConfigStore implements IConfigStore, Cloneable {
* @param name property name
* @return property value
*/
- public Object get(String name) {
+ public String get(String name) {
return mSource.get(getFullName(name));
}
@@ -150,8 +150,8 @@ public class PropConfigStore implements IConfigStore, Cloneable {
* @param name property name
* @param value property value
*/
- public void put(String name, Object value) {
- mSource.put(getFullName(name), value);
+ public String put(String name, String value) {
+ return mSource.put(getFullName(name), value);
}
/**