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/console/src/com/netscape/admin/certsrv/config/ACIDialog.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/console/src/com/netscape/admin/certsrv/config/ACIDialog.java')
-rw-r--r-- | base/console/src/com/netscape/admin/certsrv/config/ACIDialog.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/base/console/src/com/netscape/admin/certsrv/config/ACIDialog.java b/base/console/src/com/netscape/admin/certsrv/config/ACIDialog.java index e6085f820..c1a4a9807 100644 --- a/base/console/src/com/netscape/admin/certsrv/config/ACIDialog.java +++ b/base/console/src/com/netscape/admin/certsrv/config/ACIDialog.java @@ -110,7 +110,7 @@ public class ACIDialog extends JDialog CMSAdminUtil.showErrorDialog(mParentFrame, mResource, msg ,CMSAdminUtil.ERROR_MESSAGE); return; - } + } } else if (evt.getSource().equals(mHelp)) { CMSAdminUtil.help(mHelpToken); } @@ -168,7 +168,7 @@ public class ACIDialog extends JDialog mAllowBtn.setSelected(true); } else if (aci.startsWith("deny")) { mDenyBtn.setSelected(true); - } + } int startIndex = aci.indexOf("("); int endIndex = aci.indexOf(")"); if ((startIndex > 0) && (endIndex > 0)) { @@ -197,7 +197,7 @@ public class ACIDialog extends JDialog String result = ""; if (!mAllowBtn.isSelected() && !mDenyBtn.isSelected()) return ""; - if (mAllowBtn.isSelected()) + if (mAllowBtn.isSelected()) result = result+"allow"+" ("; else if (mDenyBtn.isSelected()) result = result+"deny"+" ("; @@ -259,7 +259,7 @@ public class ACIDialog extends JDialog } } } - + return false; } @@ -356,7 +356,7 @@ public class ACIDialog extends JDialog private JPanel makeListPane() { JPanel listPanel = new JPanel(); - + GridBagConstraints gbc = new GridBagConstraints(); GridBagLayout gb = new GridBagLayout(); listPanel.setLayout(gb); @@ -439,7 +439,7 @@ public class ACIDialog extends JDialog gb.setConstraints(opsLabel, gbc); mainPanel.add(opsLabel); opsLabel.addMouseListener(this); - opsLabel.setName("rights"); + opsLabel.setName("rights"); mList = CMSAdminUtil.makeJList(mDataModel, 3); mScrollPane = new JScrollPane(mList, @@ -474,7 +474,7 @@ public class ACIDialog extends JDialog */ CMSAdminUtil.resetGBC(gbc); - JLabel attrLabel = CMSAdminUtil.makeJLabel(mResource, PREFIX, + JLabel attrLabel = CMSAdminUtil.makeJLabel(mResource, PREFIX, "SYNTAX", null); gbc.anchor = gbc.NORTHWEST; gbc.gridwidth = gbc.REMAINDER; |