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 --- .../netscape/admin/certsrv/wizard/WizardBasePanel.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'base/console/src/com/netscape/admin/certsrv/wizard/WizardBasePanel.java') diff --git a/base/console/src/com/netscape/admin/certsrv/wizard/WizardBasePanel.java b/base/console/src/com/netscape/admin/certsrv/wizard/WizardBasePanel.java index c31767d99..9b60500c3 100644 --- a/base/console/src/com/netscape/admin/certsrv/wizard/WizardBasePanel.java +++ b/base/console/src/com/netscape/admin/certsrv/wizard/WizardBasePanel.java @@ -44,7 +44,7 @@ public class WizardBasePanel extends CMSBasePanel implements MouseMotionListener protected String mTitle; protected String mErrorString; protected String mNextString = - mResource.getString("GENERALWIZARD_LABEL_NEXT_LABEL"); + mResource.getString("GENERALWIZARD_LABEL_NEXT_LABEL"); protected String mPanelName; public static long mSeed; @@ -73,7 +73,7 @@ public class WizardBasePanel extends CMSBasePanel implements MouseMotionListener /* GridBagConstraints gbc = new GridBagConstraints(); - + CMSAdminUtil.resetGBC(gbc); gbc.anchor = gbc.SOUTHWEST; gbc.weightx = 1.0; @@ -143,7 +143,7 @@ public class WizardBasePanel extends CMSBasePanel implements MouseMotionListener wizardInfo.remove("NMC_ERRINFO"); wizardInfo.remove("NMC_STATUS"); } - + public String getErrorMessage(WizardInfo wizardInfo) { String value = (String)wizardInfo.get("NMC_ERRINFO"); if (value != null || value.trim().length() == 0) @@ -151,11 +151,11 @@ public class WizardBasePanel extends CMSBasePanel implements MouseMotionListener value = (String)wizardInfo.get("NMC_WARNINFO"); if (value != null || value.trim().length() == 0) return value; - + return null; } - public boolean send(String host, int port, String servlet, String rawData, + public boolean send(String host, int port, String servlet, String rawData, WizardInfo wizardInfo) { try { Socket socket = new Socket(host, port); @@ -203,7 +203,7 @@ public class WizardBasePanel extends CMSBasePanel implements MouseMotionListener } else { return false; } - } catch (Exception e) { + } catch (Exception e) { } return false; @@ -247,7 +247,7 @@ public class WizardBasePanel extends CMSBasePanel implements MouseMotionListener if (numTokens == 2) { String name = tokenizer1.nextToken().trim(); String value = tokenizer1.nextToken().trim(); - wizardInfo.put(name, value); + wizardInfo.put(name, value); } } bstream.close(); @@ -283,7 +283,7 @@ public class WizardBasePanel extends CMSBasePanel implements MouseMotionListener // Keep tracking coordinate values long x = e.getX(); long y = e.getY(); - + long top = mSeed >> 62; mSeed = ((mSeed << 2) ^ top ^ (x<<8) ^ (y)) % Long.MAX_VALUE; } -- cgit