From 4cba54a57f778d817c18f089e5e4f871e6b874cb Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Tue, 13 Oct 2015 07:43:46 +0000
Subject: [PATCH] Replace line comments with javadocs where it makes sense
---
opendj-maven-plugin/src/main/resources/config/stylesheets/metaMO.xsl | 26 +++++++++++++-------------
1 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/opendj-maven-plugin/src/main/resources/config/stylesheets/metaMO.xsl b/opendj-maven-plugin/src/main/resources/config/stylesheets/metaMO.xsl
index 0ee6848..9b233e0 100644
--- a/opendj-maven-plugin/src/main/resources/config/stylesheets/metaMO.xsl
+++ b/opendj-maven-plugin/src/main/resources/config/stylesheets/metaMO.xsl
@@ -76,7 +76,7 @@
Singleton configuration definition instance.
-->
<xsl:value-of
- select="concat(' // The singleton configuration definition instance.
',
+ select="concat(' /** The singleton configuration definition instance. */
',
' private static final ',
$this-java-class ,
'CfgDefn INSTANCE = new ', $this-java-class, 'CfgDefn();
')" />
@@ -380,7 +380,7 @@
Private instance.
-->
<xsl:value-of
- select="concat(' // Private implementation.
',
+ select="concat(' /** Private implementation. */
',
' private ManagedObject<? extends ',
$this-java-class,
'CfgClient> impl;
')" />
@@ -391,7 +391,7 @@
<xsl:text>
</xsl:text>
<xsl:text>
</xsl:text>
<xsl:value-of
- select="concat(' // Private constructor.
',
+ select="concat(' /** Private constructor. */
',
' private ',
$this-java-class,
'CfgClientImpl(
',
@@ -498,7 +498,7 @@
Private instance.
-->
<xsl:value-of
- select="concat(' // Private implementation.
',
+ select="concat(' /** Private implementation. */
',
' private ServerManagedObject<? extends ', $this-java-class, 'Cfg> impl;
')" />
<!--
Private members for each property.
@@ -507,7 +507,7 @@
<xsl:sort select="@name" />
<xsl:text>
</xsl:text>
<xsl:value-of
- select="concat(' // The value of the "', @name, '" property.
')" />
+ select="concat(' /** The value of the "', @name, '" property. */
')" />
<xsl:value-of select="' private final '" />
<xsl:choose>
<xsl:when test="string(@multi-valued) != 'true'">
@@ -551,7 +551,7 @@
<xsl:text>
</xsl:text>
<xsl:text>
</xsl:text>
<xsl:value-of
- select="concat(' // Private constructor.
',
+ select="concat(' /** Private constructor. */
',
' private ',
$this-java-class,
'CfgServerImpl(ServerManagedObject<? extends ', $this-java-class, 'Cfg> impl) {
',
@@ -672,9 +672,9 @@
</xsl:choose>
</xsl:variable>
<xsl:value-of
- select="concat(' // The "',
+ select="concat(' /** The "',
@name,
- '" property definition.
',
+ '" property definition. */
',
' private static final ', $pdtype, ' PD_', $java-prop-name, ';
')" />
</xsl:template>
<!--
@@ -696,7 +696,7 @@
<xsl:call-template name="get-property-java-type" />
</xsl:variable>
<xsl:value-of
- select="concat(' // Build the "', @name, '" property definition.
',
+ select="concat(' /** Build the "', @name, '" property definition. */
',
' static {
')" />
<xsl:choose>
<xsl:when test="string-length($generic-type) != 0">
@@ -848,9 +848,9 @@
</xsl:call-template>
</xsl:variable>
<xsl:value-of
- select="concat(' // The "',
+ select="concat(' /** The "',
$relation-name,
- '" relation definition.
',
+ '" relation definition. */
',
' private static final ')" />
<xsl:choose>
<xsl:when test="adm:one-to-one">
@@ -1670,12 +1670,12 @@
<xsl:text>
</xsl:text>
<xsl:text>
</xsl:text>
<xsl:value-of
- select="' // String representation of the value.
'" />
+ select="' /** String representation of the value. */
'" />
<xsl:value-of select="' private final String name;
'" />
<xsl:text>
</xsl:text>
<xsl:text>
</xsl:text>
<xsl:text>
</xsl:text>
- <xsl:value-of select="' // Private constructor.
'" />
+ <xsl:value-of select="' /** Private constructor. */
'" />
<xsl:value-of select="' private '" />
<xsl:call-template name="name-to-java">
<xsl:with-param name="value" select="@name" />
--
Gitblit v1.10.0