summaryrefslogtreecommitdiffstats
path: root/base/console/src/com/netscape/admin/certsrv/config/ProfileNonPolicyNewDialog.java
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2012-04-05 14:49:11 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2012-04-09 10:03:25 -0500
commit7c7b9d023cd466c1771068badc020dab36beb553 (patch)
tree178877eb83e25336be7577953945fbdb0b9e1a15 /base/console/src/com/netscape/admin/certsrv/config/ProfileNonPolicyNewDialog.java
parentda1e6e2f49f66fd46c8039ff1aa4386309fba8f4 (diff)
downloadpki-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/ProfileNonPolicyNewDialog.java')
-rw-r--r--base/console/src/com/netscape/admin/certsrv/config/ProfileNonPolicyNewDialog.java48
1 files changed, 24 insertions, 24 deletions
diff --git a/base/console/src/com/netscape/admin/certsrv/config/ProfileNonPolicyNewDialog.java b/base/console/src/com/netscape/admin/certsrv/config/ProfileNonPolicyNewDialog.java
index e597b242..38b8d566 100644
--- a/base/console/src/com/netscape/admin/certsrv/config/ProfileNonPolicyNewDialog.java
+++ b/base/console/src/com/netscape/admin/certsrv/config/ProfileNonPolicyNewDialog.java
@@ -50,7 +50,7 @@ public class ProfileNonPolicyNewDialog extends CMSBaseConfigDialog
*==========================================================*/
public ProfileNonPolicyNewDialog(NameValuePairs nvp,
JFrame parent,
- AdminConnection conn,
+ AdminConnection conn,
String dest, String scope, boolean new1) {
super(parent, dest);
@@ -59,7 +59,7 @@ public class ProfileNonPolicyNewDialog extends CMSBaseConfigDialog
mHelpToken = "configuration-certificateprofiles";
mImplName_token = Constants.PR_POLICY_IMPL_NAME;
mImplType = Constants.PR_EXT_PLUGIN_IMPLTYPE_POLICY;
- mIsNew = new1;
+ mIsNew = new1;
mScope = scope;
init(nvp,parent,conn,dest);
@@ -289,8 +289,8 @@ setLabelCellEditor(mTable, 1);
if (evt.getSource().equals(mOK)) {
try {
- if (mModel != null) {
- mModel.progressStart();
+ if (mModel != null) {
+ mModel.progressStart();
}
NameValuePairs nvp = new NameValuePairs();
@@ -312,21 +312,21 @@ setLabelCellEditor(mTable, 1);
if (mIsNew) {
String name = instanceName + ";" + id + ";" + mParamId;
- // mAdminConnection.add(DestDef.DEST_CA_PROFILE_ADMIN,
+ // mAdminConnection.add(DestDef.DEST_CA_PROFILE_ADMIN,
mAdminConnection.add(mDest,
mScope, name, nvp);
//ScopeDef.SC_PROFILE_INPUT, name, nvp);
} else {
String name = instanceName + ";" + id;
- //mAdminConnection.modify(DestDef.DEST_CA_PROFILE_ADMIN,
+ //mAdminConnection.modify(DestDef.DEST_CA_PROFILE_ADMIN,
mAdminConnection.modify(mDest,
mScope, name, nvp);
//ScopeDef.SC_PROFILE_INPUT_CONFIG, name, nvp);
}
-
+
mIsOK = true;
- if (mModel != null) {
- mModel.progressStop();
+ if (mModel != null) {
+ mModel.progressStop();
}
this.dispose();
@@ -342,7 +342,7 @@ setLabelCellEditor(mTable, 1);
this.dispose();
}
- }
+ }
public void showDialog(NameValuePairs data, String profileId, String paramId) {
@@ -358,28 +358,28 @@ setLabelCellEditor(mTable, 1);
mModel.progressStart();
// retrieve profile information
- NameValuePairs response = null;
- NameValuePairs request = new NameValuePairs();
+ NameValuePairs response = null;
+ NameValuePairs request = new NameValuePairs();
try {
- if (mIsNew)
+ if (mIsNew)
response = mAdminConnection.read(DestDef.DEST_REGISTRY_ADMIN,
//ScopeDef.SC_PROFILE_INPUT,
mScope, paramId, request);
else
// response = mAdminConnection.read(DestDef.DEST_CA_PROFILE_ADMIN,
response = mAdminConnection.read(mDest,
- //ScopeDef.SC_PROFILE_INPUT_CONFIG,
+ //ScopeDef.SC_PROFILE_INPUT_CONFIG,
mScope, profileId+";"+mInputId, request);
- } catch (EAdminException e) {
-// CMSAdminUtil.showErrorDialog(mParentFrame, mResource, e.toString());
- mModel.progressStop();
- }
+ } catch (EAdminException e) {
+// CMSAdminUtil.showErrorDialog(mParentFrame, mResource, e.toString());
+ mModel.progressStop();
+ }
mModel.progressStop();
- Vector defcolNames = new Vector();
- defcolNames.addElement("Parameter");
- defcolNames.addElement("Value");
- Vector defdata = new Vector();
+ Vector defcolNames = new Vector();
+ defcolNames.addElement("Parameter");
+ defcolNames.addElement("Value");
+ Vector defdata = new Vector();
for (String entry : response.keySet()) {
entry = entry.trim();
@@ -397,7 +397,7 @@ setLabelCellEditor(mTable, 1);
syntaxVal = value.substring(start_pos+1, end_pos);
val = value.substring(end_pos+1);
- Vector row = new Vector();
+ Vector row = new Vector();
row.addElement(entry);
row.addElement(val);
defdata.addElement(row);
@@ -426,4 +426,4 @@ setLabelCellEditor(mTable, 1);
table.getColumnModel().getColumn(index).setCellEditor(
new DefaultCellEditor(new JTextField()));
}
-}
+}