summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2012-03-30 14:18:21 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2012-04-09 10:02:15 -0500
commit6a0047a5874c4e31b1994e0589b8f8a4007a31e9 (patch)
treebaa4bc69db5d1e1ec149e087f508f4d68c4cfedd
parentaaa9e554b6bfbcc315bab57651c0a017ce6adc4a (diff)
downloadpki-6a0047a5874c4e31b1994e0589b8f8a4007a31e9.tar.gz
pki-6a0047a5874c4e31b1994e0589b8f8a4007a31e9.tar.xz
pki-6a0047a5874c4e31b1994e0589b8f8a4007a31e9.zip
Ignored VelocityServlet deprecation warnings.
The VelocityServlet is deprecated but the replacement is not available in Fedora, so the warnings are ignored for now. Ticket #133
-rw-r--r--base/common/src/com/netscape/cms/servlet/csadmin/BaseServlet.java1
-rw-r--r--base/common/src/com/netscape/cms/servlet/csadmin/ConfigHSMServlet.java1
-rw-r--r--base/common/src/com/netscape/cms/servlet/wizard/WizardServlet.java1
3 files changed, 3 insertions, 0 deletions
diff --git a/base/common/src/com/netscape/cms/servlet/csadmin/BaseServlet.java b/base/common/src/com/netscape/cms/servlet/csadmin/BaseServlet.java
index 9e800b9cc..2e7682e08 100644
--- a/base/common/src/com/netscape/cms/servlet/csadmin/BaseServlet.java
+++ b/base/common/src/com/netscape/cms/servlet/csadmin/BaseServlet.java
@@ -29,6 +29,7 @@ import org.apache.velocity.servlet.VelocityServlet;
import com.netscape.certsrv.apps.CMS;
+@SuppressWarnings("deprecation")
public class BaseServlet extends VelocityServlet {
/**
diff --git a/base/common/src/com/netscape/cms/servlet/csadmin/ConfigHSMServlet.java b/base/common/src/com/netscape/cms/servlet/csadmin/ConfigHSMServlet.java
index 9eb146294..4854abc56 100644
--- a/base/common/src/com/netscape/cms/servlet/csadmin/ConfigHSMServlet.java
+++ b/base/common/src/com/netscape/cms/servlet/csadmin/ConfigHSMServlet.java
@@ -49,6 +49,7 @@ public class ConfigHSMServlet extends ConfigBaseServlet {
private String mDefaultTok = null;
private Hashtable<String, PK11Module> mCurrModTable = new Hashtable<String, PK11Module>();
+ @SuppressWarnings("deprecation")
public void init(ServletConfig config) throws ServletException {
super.init(config);
}
diff --git a/base/common/src/com/netscape/cms/servlet/wizard/WizardServlet.java b/base/common/src/com/netscape/cms/servlet/wizard/WizardServlet.java
index 42fa88cd9..aee57858f 100644
--- a/base/common/src/com/netscape/cms/servlet/wizard/WizardServlet.java
+++ b/base/common/src/com/netscape/cms/servlet/wizard/WizardServlet.java
@@ -45,6 +45,7 @@ import com.netscape.cmsutil.crypto.Module;
* wizard?op=menu
* return menu options
*/
+@SuppressWarnings("deprecation")
public class WizardServlet extends VelocityServlet {
/**