You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shindig.apache.org by do...@apache.org on 2009/04/07 23:31:17 UTC

svn commit: r762974 - /incubator/shindig/trunk/java/common/src/main/java/org/apache/shindig/protocol/DataServiceServlet.java

Author: doll
Date: Tue Apr  7 21:31:16 2009
New Revision: 762974

URL: http://svn.apache.org/viewvc?rev=762974&view=rev
Log:
Changed DataServiceServlet's getConverterForRequest method so that it can be overriden. (It is also called by test methods, so protected doesn't work)


Modified:
    incubator/shindig/trunk/java/common/src/main/java/org/apache/shindig/protocol/DataServiceServlet.java

Modified: incubator/shindig/trunk/java/common/src/main/java/org/apache/shindig/protocol/DataServiceServlet.java
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/java/common/src/main/java/org/apache/shindig/protocol/DataServiceServlet.java?rev=762974&r1=762973&r2=762974&view=diff
==============================================================================
--- incubator/shindig/trunk/java/common/src/main/java/org/apache/shindig/protocol/DataServiceServlet.java (original)
+++ incubator/shindig/trunk/java/common/src/main/java/org/apache/shindig/protocol/DataServiceServlet.java Tue Apr  7 21:31:16 2009
@@ -164,7 +164,7 @@
     return dispatcher.getRestHandler(path, method.toUpperCase());
   }
 
-  BeanConverter getConverterForRequest(HttpServletRequest servletRequest) {
+  public BeanConverter getConverterForRequest(HttpServletRequest servletRequest) {
     String formatString = null;
     BeanConverter converter = null;
     String contentType = null;