Author: radu Date: Tue Jul 14 12:01:57 2015 New Revision: 1690909 URL: http://svn.apache.org/r1690909 Log: trivial: corrected JavaDoc to comply with Java 1.8
Modified: sling/trunk/bundles/scripting/sightly/js-use-provider/src/main/java/org/apache/sling/scripting/sightly/js/impl/JsEnvironment.java sling/trunk/bundles/scripting/sightly/js-use-provider/src/main/java/org/apache/sling/scripting/sightly/js/impl/JsUseProvider.java sling/trunk/bundles/scripting/sightly/js-use-provider/src/main/java/org/apache/sling/scripting/sightly/js/impl/jsapi/SlyBindingsValuesProvider.java sling/trunk/bundles/scripting/sightly/js-use-provider/src/main/java/org/apache/sling/scripting/sightly/js/impl/rhino/HybridObject.java Modified: sling/trunk/bundles/scripting/sightly/js-use-provider/src/main/java/org/apache/sling/scripting/sightly/js/impl/JsEnvironment.java URL: http://svn.apache.org/viewvc/sling/trunk/bundles/scripting/sightly/js-use-provider/src/main/java/org/apache/sling/scripting/sightly/js/impl/JsEnvironment.java?rev=1690909&r1=1690908&r2=1690909&view=diff ============================================================================== --- sling/trunk/bundles/scripting/sightly/js-use-provider/src/main/java/org/apache/sling/scripting/sightly/js/impl/JsEnvironment.java (original) +++ sling/trunk/bundles/scripting/sightly/js-use-provider/src/main/java/org/apache/sling/scripting/sightly/js/impl/JsEnvironment.java Tue Jul 14 12:01:57 2015 @@ -122,9 +122,11 @@ public class JsEnvironment { /** * Run a script at a given path - * @param caller the resource of the script that invokes the Js code - * @param path the path to the JS script + * + * @param caller the resource of the script that invokes the Js code + * @param path the path to the JS script * @param globalBindings bindings for the JS script + * @param arguments the arguments for the JS script * @return an asynchronous container for the result * @throws UnsupportedOperationException if this method is run when the event loop is not empty */ Modified: sling/trunk/bundles/scripting/sightly/js-use-provider/src/main/java/org/apache/sling/scripting/sightly/js/impl/JsUseProvider.java URL: http://svn.apache.org/viewvc/sling/trunk/bundles/scripting/sightly/js-use-provider/src/main/java/org/apache/sling/scripting/sightly/js/impl/JsUseProvider.java?rev=1690909&r1=1690908&r2=1690909&view=diff ============================================================================== --- sling/trunk/bundles/scripting/sightly/js-use-provider/src/main/java/org/apache/sling/scripting/sightly/js/impl/JsUseProvider.java (original) +++ sling/trunk/bundles/scripting/sightly/js-use-provider/src/main/java/org/apache/sling/scripting/sightly/js/impl/JsUseProvider.java Tue Jul 14 12:01:57 2015 @@ -55,7 +55,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** - * Use provider for JS scripts. Ensures proper integration between Sightly & JS code-behind. + * Use provider for JavaScript Use-API objects. */ @Component( metatype = true, Modified: sling/trunk/bundles/scripting/sightly/js-use-provider/src/main/java/org/apache/sling/scripting/sightly/js/impl/jsapi/SlyBindingsValuesProvider.java URL: http://svn.apache.org/viewvc/sling/trunk/bundles/scripting/sightly/js-use-provider/src/main/java/org/apache/sling/scripting/sightly/js/impl/jsapi/SlyBindingsValuesProvider.java?rev=1690909&r1=1690908&r2=1690909&view=diff ============================================================================== --- sling/trunk/bundles/scripting/sightly/js-use-provider/src/main/java/org/apache/sling/scripting/sightly/js/impl/jsapi/SlyBindingsValuesProvider.java (original) +++ sling/trunk/bundles/scripting/sightly/js-use-provider/src/main/java/org/apache/sling/scripting/sightly/js/impl/jsapi/SlyBindingsValuesProvider.java Tue Jul 14 12:01:57 2015 @@ -64,8 +64,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** - * Provides the {@code sightly} namespace for usage in Sightly & JS scripts - * called from Sightly + * Provides the {@code sightly} namespace for usage in Sightly & JS scripts called from Sightly */ @Component(metatype = true, label = "Apache Sling Scripting Sightly JavaScript Bindings Provider", description = "The Apache Sling Scripting Sightly JavaScript Bindings Provider loads the JS Use-API and makes it available in the" + Modified: sling/trunk/bundles/scripting/sightly/js-use-provider/src/main/java/org/apache/sling/scripting/sightly/js/impl/rhino/HybridObject.java URL: http://svn.apache.org/viewvc/sling/trunk/bundles/scripting/sightly/js-use-provider/src/main/java/org/apache/sling/scripting/sightly/js/impl/rhino/HybridObject.java?rev=1690909&r1=1690908&r2=1690909&view=diff ============================================================================== --- sling/trunk/bundles/scripting/sightly/js-use-provider/src/main/java/org/apache/sling/scripting/sightly/js/impl/rhino/HybridObject.java (original) +++ sling/trunk/bundles/scripting/sightly/js-use-provider/src/main/java/org/apache/sling/scripting/sightly/js/impl/rhino/HybridObject.java Tue Jul 14 12:01:57 2015 @@ -29,7 +29,7 @@ import org.mozilla.javascript.Scriptable /** - * Instances of this class can be used in both Sightly & JS scripts + * Instances of this class can be used in both Sightly & JavaScript scripts. */ public class HybridObject implements Scriptable, Record<Object> {