From bb11f542e48b5972f860698e85484316afec7946 Mon Sep 17 00:00:00 2001
From: jcambon <jcambon@localhost>
Date: Mon, 21 Jan 2008 13:42:13 +0000
Subject: [PATCH] Related to issue #2004: - Property strings with associated patterns are now supported - Added a space betwenn 'Synopsis' and 'Description' in property table
---
opends/src/server/org/opends/server/admin/doc/ConfigGuideGeneration.java | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/opends/src/server/org/opends/server/admin/doc/ConfigGuideGeneration.java b/opends/src/server/org/opends/server/admin/doc/ConfigGuideGeneration.java
index 2c5f004..9321969 100644
--- a/opends/src/server/org/opends/server/admin/doc/ConfigGuideGeneration.java
+++ b/opends/src/server/org/opends/server/admin/doc/ConfigGuideGeneration.java
@@ -448,7 +448,7 @@
// Property table
startTable();
tableRow("Description",
- ((prop.getSynopsis() != null) ? prop.getSynopsis().toString() : "") +
+ ((prop.getSynopsis() != null) ? prop.getSynopsis().toString()+ " " : "") +
((prop.getDescription() != null) ?
prop.getDescription().toString() : ""));
@@ -582,7 +582,6 @@
@Override
public String visitAttributeType(
AttributeTypePropertyDefinition prop, Void p) {
-
return "The name of an attribute type defined in the server schema.";
}
@@ -694,7 +693,11 @@
@Override
public String visitString(StringPropertyDefinition prop, Void p) {
- return "A String";
+ String retStr = "A String";
+ if (prop.getPatternSynopsis() != null) {
+ retStr = prop.getPatternSynopsis().toString();
+ }
+ return retStr;
}
@Override
--
Gitblit v1.10.0