You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2010/04/09 10:03:50 UTC

svn commit: r932292 - /sling/trunk/bundles/scripting/core/src/main/java/org/apache/sling/scripting/core/ScriptHelper.java

Author: cziegeler
Date: Fri Apr  9 08:03:49 2010
New Revision: 932292

URL: http://svn.apache.org/viewvc?rev=932292&view=rev
Log:
Add some javadoc

Modified:
    sling/trunk/bundles/scripting/core/src/main/java/org/apache/sling/scripting/core/ScriptHelper.java

Modified: sling/trunk/bundles/scripting/core/src/main/java/org/apache/sling/scripting/core/ScriptHelper.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/scripting/core/src/main/java/org/apache/sling/scripting/core/ScriptHelper.java?rev=932292&r1=932291&r2=932292&view=diff
==============================================================================
--- sling/trunk/bundles/scripting/core/src/main/java/org/apache/sling/scripting/core/ScriptHelper.java (original)
+++ sling/trunk/bundles/scripting/core/src/main/java/org/apache/sling/scripting/core/ScriptHelper.java Fri Apr  9 08:03:49 2010
@@ -48,6 +48,9 @@ import org.slf4j.LoggerFactory;
  * on-demand writer and a simple API for request inclusion. Instances of this
  * class are made available to the scripts as the global <code>sling</code>
  * variable.
+ *
+ * Client code using this object should take care to call {@link #cleanup()}
+ * when the object is not used anymore!
  */
 public class ScriptHelper implements SlingScriptHelper {