incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r907959 - in /sling/trunk/bundles/scripting/core/src/main/java/org/apache/sling/scripting/core/impl/helper: ProtectedBindings.java SlingScriptEngineManager.java
Date Tue, 09 Feb 2010 08:15:47 GMT
Author: cziegeler
Date: Tue Feb  9 08:15:47 2010
New Revision: 907959

URL: http://svn.apache.org/viewvc?rev=907959&view=rev
Log:
Cleanup

Modified:
    sling/trunk/bundles/scripting/core/src/main/java/org/apache/sling/scripting/core/impl/helper/ProtectedBindings.java
    sling/trunk/bundles/scripting/core/src/main/java/org/apache/sling/scripting/core/impl/helper/SlingScriptEngineManager.java

Modified: sling/trunk/bundles/scripting/core/src/main/java/org/apache/sling/scripting/core/impl/helper/ProtectedBindings.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/scripting/core/src/main/java/org/apache/sling/scripting/core/impl/helper/ProtectedBindings.java?rev=907959&r1=907958&r2=907959&view=diff
==============================================================================
--- sling/trunk/bundles/scripting/core/src/main/java/org/apache/sling/scripting/core/impl/helper/ProtectedBindings.java
(original)
+++ sling/trunk/bundles/scripting/core/src/main/java/org/apache/sling/scripting/core/impl/helper/ProtectedBindings.java
Tue Feb  9 08:15:47 2010
@@ -21,7 +21,7 @@
     /**
      * {@inheritDoc}
      *
-     * @throws an IllegalArgumentException if the key is protected
+     * @throws IllegalArgumentException if the key is protected
      */
     public Object put(String key, Object value) {
         if (protectedKeys.contains(key)) {
@@ -44,7 +44,7 @@
     /**
      * {@inheritDoc}
      *
-     * @throws an IllegalArgumentException if the key is protected
+     * @throws IllegalArgumentException if the key is protected
      */
     public Object remove(Object key) {
         if (protectedKeys.contains(key)) {

Modified: sling/trunk/bundles/scripting/core/src/main/java/org/apache/sling/scripting/core/impl/helper/SlingScriptEngineManager.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/scripting/core/src/main/java/org/apache/sling/scripting/core/impl/helper/SlingScriptEngineManager.java?rev=907959&r1=907958&r2=907959&view=diff
==============================================================================
--- sling/trunk/bundles/scripting/core/src/main/java/org/apache/sling/scripting/core/impl/helper/SlingScriptEngineManager.java
(original)
+++ sling/trunk/bundles/scripting/core/src/main/java/org/apache/sling/scripting/core/impl/helper/SlingScriptEngineManager.java
Tue Feb  9 08:15:47 2010
@@ -39,7 +39,6 @@
 
     @Override
     public List<ScriptEngineFactory> getEngineFactories() {
-        @SuppressWarnings("unchecked")
         List<ScriptEngineFactory> baseFactories = super.getEngineFactories();
 
         List<ScriptEngineFactory> result = new ArrayList<ScriptEngineFactory>();



Mime
View raw message