sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r783020 - /incubator/sling/trunk/bundles/servlets/get/src/test/java/org/apache/sling/servlets/get/impl/MockSlingHttpServletRequest.java
Date Tue, 09 Jun 2009 14:53:26 GMT
Author: cziegeler
Date: Tue Jun  9 14:53:26 2009
New Revision: 783020

URL: http://svn.apache.org/viewvc?rev=783020&view=rev
Log:
Add adaptTo method from latest API.

Modified:
    incubator/sling/trunk/bundles/servlets/get/src/test/java/org/apache/sling/servlets/get/impl/MockSlingHttpServletRequest.java

Modified: incubator/sling/trunk/bundles/servlets/get/src/test/java/org/apache/sling/servlets/get/impl/MockSlingHttpServletRequest.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/bundles/servlets/get/src/test/java/org/apache/sling/servlets/get/impl/MockSlingHttpServletRequest.java?rev=783020&r1=783019&r2=783020&view=diff
==============================================================================
--- incubator/sling/trunk/bundles/servlets/get/src/test/java/org/apache/sling/servlets/get/impl/MockSlingHttpServletRequest.java
(original)
+++ incubator/sling/trunk/bundles/servlets/get/src/test/java/org/apache/sling/servlets/get/impl/MockSlingHttpServletRequest.java
Tue Jun  9 14:53:26 2009
@@ -105,7 +105,7 @@
     public ResourceBundle getResourceBundle(Locale locale) {
         return null;
     }
-    
+
     public ResourceBundle getResourceBundle(String baseName, Locale locale) {
         return null;
     }
@@ -338,4 +338,8 @@
 
     }
 
+    public <AdapterType> AdapterType adaptTo(Class<AdapterType> type) {
+        // TODO Auto-generated method stub
+        return null;
+    }
 }



Mime
View raw message