summaryrefslogtreecommitdiffstats
path: root/pki/base/common/src/com/netscape/certsrv/property/Descriptor.java
diff options
context:
space:
mode:
authorAde Lee <alee@redhat.com>2011-12-08 21:15:59 -0500
committerAde Lee <alee@redhat.com>2011-12-08 21:15:59 -0500
commit171aaece4f23709d33d180cf36eb3af5e454b0c9 (patch)
tree1485f9f0a7bd10de4ff25030db575dbb8dafae74 /pki/base/common/src/com/netscape/certsrv/property/Descriptor.java
parentadad2fcee8a29fdb82376fbce07dedb11fccc182 (diff)
downloadpki-171aaece4f23709d33d180cf36eb3af5e454b0c9.tar.gz
pki-171aaece4f23709d33d180cf36eb3af5e454b0c9.tar.xz
pki-171aaece4f23709d33d180cf36eb3af5e454b0c9.zip
Revert "Formatting"
This reverts commit 32150d3ee32f8ac27118af7c792794b538c78a2f.
Diffstat (limited to 'pki/base/common/src/com/netscape/certsrv/property/Descriptor.java')
-rw-r--r--pki/base/common/src/com/netscape/certsrv/property/Descriptor.java25
1 files changed, 12 insertions, 13 deletions
diff --git a/pki/base/common/src/com/netscape/certsrv/property/Descriptor.java b/pki/base/common/src/com/netscape/certsrv/property/Descriptor.java
index 15b6e990a..92aeff185 100644
--- a/pki/base/common/src/com/netscape/certsrv/property/Descriptor.java
+++ b/pki/base/common/src/com/netscape/certsrv/property/Descriptor.java
@@ -19,9 +19,10 @@ package com.netscape.certsrv.property;
import java.util.Locale;
+
/**
- * This interface represents a property descriptor. A descriptor includes
- * information that describe a property.
+ * This interface represents a property descriptor. A descriptor
+ * includes information that describe a property.
*
* @version $Revision$, $Date$
*/
@@ -34,14 +35,13 @@ public class Descriptor implements IDescriptor {
/**
* Constructs a descriptor.
- *
+ *
* @param syntax syntax
* @param constraint constraint
* @param defValue default value
* @param description description
*/
- public Descriptor(String syntax, String constraint, String defValue,
- String description) {
+ public Descriptor(String syntax, String constraint, String defValue, String description) {
mSyntax = syntax;
mConstraint = constraint;
mDef = defValue;
@@ -50,16 +50,16 @@ public class Descriptor implements IDescriptor {
/**
* Returns the syntax of the property.
- *
+ *
* @return syntax
*/
public String getSyntax() {
return mSyntax;
}
-
+
/**
* Returns the default value of the property.
- *
+ *
* @return default value
*/
public String getDefaultValue() {
@@ -69,14 +69,14 @@ public class Descriptor implements IDescriptor {
/**
* Constraint for the given syntax. For example,
* <p>
- * - number(1-5): 1-5 is the constraint, and it indicates that the number
- * must be in the range of 1 to 5.
+ * - number(1-5): 1-5 is the constraint, and it indicates
+ * that the number must be in the range of 1 to 5.
* <p>
- * - choice(cert,crl): cert,crl is the constraint for choice
+ * - choice(cert,crl): cert,crl is the constraint
+ * for choice
* <p>
* If null, no constraint shall be enforced.
* <p>
- *
* @return constraint
*/
public String getConstraint() {
@@ -85,7 +85,6 @@ public class Descriptor implements IDescriptor {
/**
* Retrieves the description of the property.
- *
* @param locale user locale
* @return description
*/