diff options
author | Adam Young <ayoung@redhat.com> | 2011-12-07 11:02:06 -0500 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2011-12-20 20:39:09 -0500 |
commit | 1a37d6047e0db50d6809f716fc3035af1cb603fa (patch) | |
tree | 0ba12d3e5ea37d4b63a03e4df29b0fc37855dbff /pki/base/common/src/com/netscape/cms/servlet/admin/ProfileAdminServlet.java | |
parent | 3425098266c4caebcf7dc58612ae5947e791c930 (diff) | |
download | pki-1a37d6047e0db50d6809f716fc3035af1cb603fa.tar.gz pki-1a37d6047e0db50d6809f716fc3035af1cb603fa.tar.xz pki-1a37d6047e0db50d6809f716fc3035af1cb603fa.zip |
Removal of unused private methods
These methods are uncallable.
There might be some discussion about the private default constructores. The Rules of Java are different from C++: If there is any constructor defined, all the other defaults befome uncallable. Thus, the private default constructors are not needed.
https://bugzilla.redhat.com/show_bug.cgi?id=728303
Conflicts:
pki/base/ca/src/com/netscape/ca/CRLIssuingPoint.java
Diffstat (limited to 'pki/base/common/src/com/netscape/cms/servlet/admin/ProfileAdminServlet.java')
-rw-r--r-- | pki/base/common/src/com/netscape/cms/servlet/admin/ProfileAdminServlet.java | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/pki/base/common/src/com/netscape/cms/servlet/admin/ProfileAdminServlet.java b/pki/base/common/src/com/netscape/cms/servlet/admin/ProfileAdminServlet.java index 1cfab0b6a..6f64d81a0 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/admin/ProfileAdminServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/admin/ProfileAdminServlet.java @@ -38,7 +38,6 @@ import com.netscape.certsrv.common.NameValuePairs; import com.netscape.certsrv.common.OpDef; import com.netscape.certsrv.common.ScopeDef; import com.netscape.certsrv.logging.ILogger; -import com.netscape.certsrv.policy.IPolicyRule; import com.netscape.certsrv.profile.EProfileException; import com.netscape.certsrv.profile.IPolicyConstraint; import com.netscape.certsrv.profile.IPolicyDefault; @@ -126,20 +125,6 @@ public class ProfileAdminServlet extends AdminServlet { return INFO; } - private void addDefaultParams(Object ext_info, NameValuePairs nvps) { - - /* make sure policy rules have 'enable' and 'predicate' */ - - if (ext_info instanceof IPolicyRule) { - if (nvps.getPair(IPolicyRule.PROP_ENABLE) == null) { - nvps.add(IPolicyRule.PROP_ENABLE, "boolean;Enable this policy rule"); - } - if (nvps.getPair(PROP_PREDICATE) == null) { - nvps.add(PROP_PREDICATE, "string;Rules describing when this policy should run."); - } - } - } - /** * Serves HTTP admin request. */ |