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 --- .../admin/certsrv/config/CMSAccessLogPanel.java | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'base/console/src/com/netscape/admin/certsrv/config/CMSAccessLogPanel.java') diff --git a/base/console/src/com/netscape/admin/certsrv/config/CMSAccessLogPanel.java b/base/console/src/com/netscape/admin/certsrv/config/CMSAccessLogPanel.java index 8f1fc1f20..377e6287d 100644 --- a/base/console/src/com/netscape/admin/certsrv/config/CMSAccessLogPanel.java +++ b/base/console/src/com/netscape/admin/certsrv/config/CMSAccessLogPanel.java @@ -25,7 +25,7 @@ import java.awt.event.*; /** * Access Log Setting Tab to be displayed at the right hand side - * + * * @author Christine Ho * @version $Revision$, $Date$ */ @@ -46,7 +46,7 @@ public class CMSAccessLogPanel extends CMSBaseLogPanel { mHelpToken = HELPINDEX; mIsNT = isNT; } - + /*========================================================== * public methods *==========================================================*/ @@ -88,7 +88,7 @@ public class CMSAccessLogPanel extends CMSBaseLogPanel { } catch (EAdminException e) { showErrorDialog(e.toString()); mModel.progressStop(); - } + } setValues(); mModel.progressStop(); clearDirtyFlag(); @@ -97,14 +97,14 @@ public class CMSAccessLogPanel extends CMSBaseLogPanel { private void parseVals(NameValuePairs nvp) { if (nvp.get(Constants.PR_LOG_ENABLED).equalsIgnoreCase( - Constants.TRUE)) + Constants.TRUE)) activateLog.setSelected(true); else activateLog.setSelected(false); mLevel = Integer.parseInt(nvp.get(Constants.PR_LOG_LEVEL)); mlogBufSizTextData = nvp.get(Constants.PR_LOG_BUFFERSIZE); mlogMaxSizTextData = nvp.get(Constants.PR_LOG_MAXFILESIZE); - int val = + int val = Integer.parseInt(nvp.get(Constants.PR_LOG_ROLLEROVER_INTERVAL)); mFrequency = getRollOverIndex(val); } @@ -148,7 +148,7 @@ public class CMSAccessLogPanel extends CMSBaseLogPanel { NameValuePairs nvp = new NameValuePairs(); mModel.progressStart(); - if (activateLog.isSelected()) + if (activateLog.isSelected()) nvp.put(Constants.PR_LOG_ENABLED, Constants.TRUE); else nvp.put(Constants.PR_LOG_ENABLED, Constants.FALSE); @@ -183,13 +183,13 @@ public class CMSAccessLogPanel extends CMSBaseLogPanel { showErrorDialog(e.toString()); mModel.progressStop(); return false; - } + } clearDirtyFlag(); mModel.progressStop(); return true; } - + /** * Implementation for reset values * @return true if save successful; otherwise, false. @@ -201,8 +201,8 @@ public class CMSAccessLogPanel extends CMSBaseLogPanel { /*========================================================== * EVENT HANDLER METHODS - *==========================================================*/ - + *==========================================================*/ + //=== ACTIONLISTENER ===================== public void actionPerformed(ActionEvent e) { super.actionPerformed(e); -- cgit