diff options
author | Endi S. Dewata <edewata@redhat.com> | 2013-10-11 11:42:31 -0400 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2013-10-25 17:18:33 -0400 |
commit | 533029c934843c75d1a01561d3200cc41292aeda (patch) | |
tree | 6ea4b6cd5c6e8c9ffe4b7dda6c8df225e3d9def7 /base/java-tools/src/com/netscape/cmstools/profile/ProfileCLI.java | |
parent | 2119f1b218e9d68b13496e7042785d9c68753966 (diff) | |
download | pki-533029c934843c75d1a01561d3200cc41292aeda.tar.gz pki-533029c934843c75d1a01561d3200cc41292aeda.tar.xz pki-533029c934843c75d1a01561d3200cc41292aeda.zip |
Cleaned up CertEnrollmentRequest.
The CertEnrollmentRequest, ProfileInput, ProfileAttribute, and Descriptor
have been cleaned up to fix some bugs and minor formatting issues.
Diffstat (limited to 'base/java-tools/src/com/netscape/cmstools/profile/ProfileCLI.java')
-rw-r--r-- | base/java-tools/src/com/netscape/cmstools/profile/ProfileCLI.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/base/java-tools/src/com/netscape/cmstools/profile/ProfileCLI.java b/base/java-tools/src/com/netscape/cmstools/profile/ProfileCLI.java index 775398283..732b597af 100644 --- a/base/java-tools/src/com/netscape/cmstools/profile/ProfileCLI.java +++ b/base/java-tools/src/com/netscape/cmstools/profile/ProfileCLI.java @@ -82,7 +82,7 @@ public class ProfileCLI extends CLI { System.out.println(" Input ID: " + input.getId()); System.out.println(" Name: " + input.getName()); System.out.println(" Class: " + input.getClassId()); - for (ProfileAttribute attr: input.getAttrs()) { + for (ProfileAttribute attr : input.getAttributes()) { System.out.println(); System.out.println(" Attribute Name: " + attr.getName()); System.out.println(" Attribute Description: " + @@ -144,14 +144,14 @@ public class ProfileCLI extends CLI { public static void printEnrollmentTemplate(CertEnrollmentRequest request) { System.out.println(" Profile ID: " + request.getProfileId()); - System.out.println(" Renewal: " + request.getIsRenewal()); + System.out.println(" Renewal: " + request.isRenewal()); for (ProfileInput input: request.getInputs()) { System.out.println(); System.out.println(" Input ID: " + input.getId()); System.out.println(" Name: " + input.getName()); System.out.println(" Class: " + input.getClassId()); - for (ProfileAttribute attr: input.getAttrs()) { + for (ProfileAttribute attr : input.getAttributes()) { System.out.println(); System.out.println(" Attribute Name: " + attr.getName()); System.out.println(" Attribute Description: " + |