incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r600502 - /incubator/sling/trunk/scripting/javascript/src/main/java/org/apache/sling/scripting/javascript/ScriptableResource.java
Date Mon, 03 Dec 2007 12:16:14 GMT
Author: fmeschbe
Date: Mon Dec  3 04:16:13 2007
New Revision: 600502

URL: http://svn.apache.org/viewvc?rev=600502&view=rev
Log:
SLING-109 Remove adaptTo method from JavaScript Resource wrapper
  (Don't know how to handle class literals in Rhino ...)

Modified:
    incubator/sling/trunk/scripting/javascript/src/main/java/org/apache/sling/scripting/javascript/ScriptableResource.java

Modified: incubator/sling/trunk/scripting/javascript/src/main/java/org/apache/sling/scripting/javascript/ScriptableResource.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/scripting/javascript/src/main/java/org/apache/sling/scripting/javascript/ScriptableResource.java?rev=600502&r1=600501&r2=600502&view=diff
==============================================================================
--- incubator/sling/trunk/scripting/javascript/src/main/java/org/apache/sling/scripting/javascript/ScriptableResource.java
(original)
+++ incubator/sling/trunk/scripting/javascript/src/main/java/org/apache/sling/scripting/javascript/ScriptableResource.java
Mon Dec  3 04:16:13 2007
@@ -85,10 +85,6 @@
         return resource.getResourceMetadata();
     }
 
-    public Object jsFunction_adaptTo(Class<?> type) {
-        return resource.adaptTo(type);
-    }
-
     @Override
     public Object getDefaultValue(Class typeHint) {
         return resource.getURI();



Mime
View raw message