diff options
author | Endi Sukma Dewata <edewata@redhat.com> | 2012-04-05 14:49:11 -0500 |
---|---|---|
committer | Endi Sukma Dewata <edewata@redhat.com> | 2012-04-09 10:03:25 -0500 |
commit | 7c7b9d023cd466c1771068badc020dab36beb553 (patch) | |
tree | 178877eb83e25336be7577953945fbdb0b9e1a15 /base/common/src/com/netscape/cmscore/security/CertificateInfo.java | |
parent | da1e6e2f49f66fd46c8039ff1aa4386309fba8f4 (diff) | |
download | pki-7c7b9d023cd466c1771068badc020dab36beb553.tar.gz pki-7c7b9d023cd466c1771068badc020dab36beb553.tar.xz pki-7c7b9d023cd466c1771068badc020dab36beb553.zip |
Removed whitespaces from Java code.
Whitespaces in Java code have been removed with the following command:
find . -not -path .git -name *.java -exec sed -i 's/[[:blank:]]\+$//' {} \;
Ticket #134
Diffstat (limited to 'base/common/src/com/netscape/cmscore/security/CertificateInfo.java')
-rw-r--r-- | base/common/src/com/netscape/cmscore/security/CertificateInfo.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/common/src/com/netscape/cmscore/security/CertificateInfo.java b/base/common/src/com/netscape/cmscore/security/CertificateInfo.java index fc7fb9087..914803223 100644 --- a/base/common/src/com/netscape/cmscore/security/CertificateInfo.java +++ b/base/common/src/com/netscape/cmscore/security/CertificateInfo.java @@ -62,7 +62,7 @@ import com.netscape.certsrv.security.KeyCertData; /** * This base class provides methods to import CA signing cert or get certificate * request. - * + * * @author Christine Ho * @version $Revision$, $Date$ */ @@ -103,7 +103,7 @@ public abstract class CertificateInfo { String period = (String)mProperties.get(Constants.PR_VALIDITY_PERIOD); Date notBeforeDate = CMS.getCurrentDate(); Date notAfterDate = new Date(notBeforeDate.getYear(), - notBeforeDate.getMonth(), + notBeforeDate.getMonth(), notBeforeDate.getDate()+Integer.parseInt(period)); return new CertificateValidity(notBeforeDate, notAfterDate); */ |