abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r614082 - /incubator/abdera/java/branches/server_refactor/src/main/java/org/apache/abdera/protocol/server/impl/AbstractProvider.java
Date Tue, 22 Jan 2008 01:10:37 GMT
Author: jmsnell
Date: Mon Jan 21 17:10:37 2008
New Revision: 614082

URL: http://svn.apache.org/viewvc?rev=614082&view=rev
Log:
removing some unnecessary strings

Modified:
    incubator/abdera/java/branches/server_refactor/src/main/java/org/apache/abdera/protocol/server/impl/AbstractProvider.java

Modified: incubator/abdera/java/branches/server_refactor/src/main/java/org/apache/abdera/protocol/server/impl/AbstractProvider.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/branches/server_refactor/src/main/java/org/apache/abdera/protocol/server/impl/AbstractProvider.java?rev=614082&r1=614081&r2=614082&view=diff
==============================================================================
--- incubator/abdera/java/branches/server_refactor/src/main/java/org/apache/abdera/protocol/server/impl/AbstractProvider.java
(original)
+++ incubator/abdera/java/branches/server_refactor/src/main/java/org/apache/abdera/protocol/server/impl/AbstractProvider.java
Mon Jan 21 17:10:37 2008
@@ -56,13 +56,11 @@
       WorkspaceManager wm = getWorkspaceManager(request);
       if (!wm.checkTarget(request)) {
         return ProviderHelper.notfound(
-          request,
-          "Not Found");
+          request);
       }
       if (!wm.checkMethod(request)) {
         return ProviderHelper.notallowed(
-          request, 
-          "Method Not Allowed", 
+          request,  
           wm.getMethods(request));
       }      
       CollectionAdapter adapter = 
@@ -119,11 +117,11 @@
   
   protected ResponseContext getServiceDocument(
     RequestContext request) {
-      return ProviderHelper.notfound(request,"Not Found");
+      return ProviderHelper.notfound(request);
   }
   
   protected ResponseContext getCategoriesDocument(
     RequestContext request) {
-      return ProviderHelper.notfound(request,"Not Found");
+      return ProviderHelper.notfound(request);
   }
 }



Mime
View raw message