From 7c7b9d023cd466c1771068badc020dab36beb553 Mon Sep 17 00:00:00 2001 From: Endi Sukma Dewata Date: Thu, 5 Apr 2012 14:49:11 -0500 Subject: 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 --- .../src/com/netscape/cmscore/dbs/Repository.java | 28 +++++++++++----------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'base/common/src/com/netscape/cmscore/dbs/Repository.java') diff --git a/base/common/src/com/netscape/cmscore/dbs/Repository.java b/base/common/src/com/netscape/cmscore/dbs/Repository.java index aadfb888a..2cfe320f6 100644 --- a/base/common/src/com/netscape/cmscore/dbs/Repository.java +++ b/base/common/src/com/netscape/cmscore/dbs/Repository.java @@ -39,11 +39,11 @@ import com.netscape.certsrv.dbs.repository.IRepositoryRecord; *

* To build domain specific repository, subclass should be created. *

- * + * * @author galperin * @author thomask * @version $Revision: 1.4 - * + * * $, $Date$ */ @@ -126,7 +126,7 @@ public abstract class Repository implements IRepository { /** * Retrieves the next serial number attr in db. *

- * + * * @return next serial number */ protected BigInteger getSerialNumber() throws EBaseException { @@ -152,7 +152,7 @@ public abstract class Repository implements IRepository { BigInteger serial = rec.getSerialNumber(); if (!mInit) { - // cms may crash after issue a cert but before update + // cms may crash after issue a cert but before update // the serial number record try { IDBObj obj = s.read("cn=" + @@ -173,7 +173,7 @@ public abstract class Repository implements IRepository { /** * Updates the serial number to the specified in db. *

- * + * * @param num serial number */ protected void setSerialNumber(BigInteger num) throws EBaseException { @@ -186,7 +186,7 @@ public abstract class Repository implements IRepository { /** * Get the maximum serial number. - * + * * @return maximum serial number */ public String getMaxSerial() { @@ -195,7 +195,7 @@ public abstract class Repository implements IRepository { /** * Set the maximum serial number. - * + * * @param serial maximum number * @exception EBaseException failed to set maximum serial number */ @@ -212,7 +212,7 @@ public abstract class Repository implements IRepository { /** * Get the maximum serial number in next range. - * + * * @return maximum serial number in next range */ public String getNextMaxSerial() { @@ -221,7 +221,7 @@ public abstract class Repository implements IRepository { /** * Set the maximum serial number in next range - * + * * @param serial maximum number in next range * @exception EBaseException failed to set maximum serial number in next range */ @@ -240,7 +240,7 @@ public abstract class Repository implements IRepository { /** * Get the minimum serial number. - * + * * @return minimum serial number */ public String getMinSerial() { @@ -337,7 +337,7 @@ public abstract class Repository implements IRepository { /** * Updates the serial number to the specified in db and cache. *

- * + * * @param num serial number */ public void setTheSerialNumber(BigInteger num) throws EBaseException { @@ -364,7 +364,7 @@ public abstract class Repository implements IRepository { * Retrieves the next serial number, and also increase the * serial number by one. *

- * + * * @return serial number */ public synchronized BigInteger getNextSerialNumber() throws @@ -422,7 +422,7 @@ public abstract class Repository implements IRepository { /** * Checks to see if a new range is needed, or if we have reached the end of the * current range, or if a range conflict has occurred. - * + * * @exception EBaseException failed to check next range for conflicts */ public void checkRanges() throws EBaseException { @@ -483,7 +483,7 @@ public abstract class Repository implements IRepository { /** * Sets whether serial number management is enabled for certs * and requests. - * + * * @param value true/false * @exception EBaseException failed to set */ -- cgit