You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 10:11:08 UTC

[sling-org-apache-sling-scripting-sightly-compiler] 07/11: trivial: corrected JavaDoc

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.scripting.sightly.compiler.java-1.0.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-sightly-compiler.git

commit 5df05595cf17f29c86303b17a1301dbf75b472fa
Author: Radu Cotescu <ra...@apache.org>
AuthorDate: Mon Sep 5 11:50:53 2016 +0000

    trivial: corrected JavaDoc
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/scripting/sightly/java-compiler@1759238 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml                                            | 24 ----------------------
 .../sightly/java/compiler/RenderUnit.java          |  1 +
 .../apache/sling/scripting/sightly/pojo/Use.java   | 10 ++++-----
 3 files changed, 6 insertions(+), 29 deletions(-)

diff --git a/pom.xml b/pom.xml
index e2a0ba2..54772a2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -82,14 +82,6 @@
                 </configuration>
             </plugin>
             <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-javadoc-plugin</artifactId>
-                <configuration>
-                    <stylesheet>maven</stylesheet>
-                    <excludePackageNames>*.impl:*.internal:${site.javadoc.exclude}</excludePackageNames>
-                </configuration>
-            </plugin>
-            <plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>findbugs-maven-plugin</artifactId>
                 <version>3.0.3</version>
@@ -111,22 +103,6 @@
     </build>
 
     <!-- ======================================================================= -->
-    <!-- R E P O R T I N G                                                       -->
-    <!-- ======================================================================= -->
-    <reporting>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-javadoc-plugin</artifactId>
-                <configuration>
-                    <stylesheet>maven</stylesheet>
-                    <excludePackageNames>*.impl:*.internal:${site.javadoc.exclude}</excludePackageNames>
-                </configuration>
-            </plugin>
-        </plugins>
-    </reporting>
-
-    <!-- ======================================================================= -->
     <!-- D E P E N D E N C I E S                                                 -->
     <!-- ======================================================================= -->
     <dependencies>
diff --git a/src/main/java/org/apache/sling/scripting/sightly/java/compiler/RenderUnit.java b/src/main/java/org/apache/sling/scripting/sightly/java/compiler/RenderUnit.java
index d9f831c..76c0f3a 100644
--- a/src/main/java/org/apache/sling/scripting/sightly/java/compiler/RenderUnit.java
+++ b/src/main/java/org/apache/sling/scripting/sightly/java/compiler/RenderUnit.java
@@ -39,6 +39,7 @@ public abstract class RenderUnit implements Record<RenderUnit> {
     /**
      * Render the main script template
      *
+     * @param out           the {@link PrintWriter} to which the commands are written
      * @param renderContext the rendering context
      * @param arguments     the arguments for this unit
      */
diff --git a/src/main/java/org/apache/sling/scripting/sightly/pojo/Use.java b/src/main/java/org/apache/sling/scripting/sightly/pojo/Use.java
index 6765569..722b79a 100644
--- a/src/main/java/org/apache/sling/scripting/sightly/pojo/Use.java
+++ b/src/main/java/org/apache/sling/scripting/sightly/pojo/Use.java
@@ -33,12 +33,12 @@ public interface Use {
 
     /**
      * <p>
-     * Called to initialize the Java object with the current Java Scripting API bindings.
+     *     Called to initialize the Java object with the current Java Scripting API bindings.
+     * </p>
+     * <p>
+     *     This method is called only if the object has been instantiated by HTL as part of processing the {@code data-sly-use}
+     *     attribute. The Java Scripting API bindings provide all the global variables known to a script being executed.
      * </p>
-     * <p/>
-     * This method is called only if the object has been instantiated by HTL as part of processing the {@code data-sly-use}
-     * attribute. The Java Scripting API bindings provide all the global variables known to a script being executed.
-     * <p/>
      *
      * @param bindings The Java Scripting API bindings.
      */

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.