summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pki/base/common/src/com/netscape/cms/jobs/RenewalNotificationJob.java24
-rw-r--r--pki/base/silent/src/com/netscape/pkisilent/common/checkRequest.java16
2 files changed, 1 insertions, 39 deletions
diff --git a/pki/base/common/src/com/netscape/cms/jobs/RenewalNotificationJob.java b/pki/base/common/src/com/netscape/cms/jobs/RenewalNotificationJob.java
index 9b391b515..8649cf23a 100644
--- a/pki/base/common/src/com/netscape/cms/jobs/RenewalNotificationJob.java
+++ b/pki/base/common/src/com/netscape/cms/jobs/RenewalNotificationJob.java
@@ -488,30 +488,6 @@ public class RenewalNotificationJob
}
}
- private String makeLDAPDateString(Date date) {
-
- Calendar calendar = Calendar.getInstance();
- calendar.setTime(date);
-
- String ldfYear = "" + Integer.toString(calendar.get(Calendar.YEAR) - 1900);
-
- String ldfMonth = getPadded(calendar.get(Calendar.MONTH));
- String ldfDate = getPadded(calendar.get(Calendar.DAY_OF_MONTH));
- String ldfHours = getPadded(calendar.get(Calendar.HOUR));
- String ldfMinutes = getPadded(calendar.get(Calendar.MINUTE));
- String ldfSeconds = getPadded(calendar.get(Calendar.SECOND));
-
- return ldfYear + ldfMonth + ldfDate + ldfHours + ldfMinutes + ldfSeconds + "Z";
- }
-
- private String getPadded(int i) {
- if (i < 10) {
- return "0" + Integer.toString(i);
- } else {
- return "" + Integer.toString(i);
- }
- }
-
/**
* get instance id.
* @return a String identifier
diff --git a/pki/base/silent/src/com/netscape/pkisilent/common/checkRequest.java b/pki/base/silent/src/com/netscape/pkisilent/common/checkRequest.java
index f2a71085e..c67689e42 100644
--- a/pki/base/silent/src/com/netscape/pkisilent/common/checkRequest.java
+++ b/pki/base/silent/src/com/netscape/pkisilent/common/checkRequest.java
@@ -153,10 +153,6 @@ public class checkRequest extends TestClient {
return reqStatus;
}
- private long getElapsedTime() {
- return elapsedTime;
- }
-
/**
* returns the hex serial number of the certificate
**/
@@ -239,17 +235,7 @@ public class checkRequest extends TestClient {
return false;
}
- private boolean checkRequest_load() {
-
- type = 1;
- buildquery();
- if (debug) {
- System.out.println(query);
- }
- setStatusString("Congratulations, your certificate has been issued");
- return(Send());
-
- }
+
// Private functions