abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eli...@apache.org
Subject svn commit: r415652 - /incubator/abdera/java/branches/snell_sandbox/server/src/main/java/org/apache/abdera/server/servlet/AbderaServlet.java
Date Tue, 20 Jun 2006 14:27:28 GMT
Author: eliast
Date: Tue Jun 20 07:27:27 2006
New Revision: 415652

URL: http://svn.apache.org/viewvc?rev=415652&view=rev
Log:
- Refactored again to hasEntity from hasOutput

Modified:
    incubator/abdera/java/branches/snell_sandbox/server/src/main/java/org/apache/abdera/server/servlet/AbderaServlet.java

Modified: incubator/abdera/java/branches/snell_sandbox/server/src/main/java/org/apache/abdera/server/servlet/AbderaServlet.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/branches/snell_sandbox/server/src/main/java/org/apache/abdera/server/servlet/AbderaServlet.java?rev=415652&r1=415651&r2=415652&view=diff
==============================================================================
--- incubator/abdera/java/branches/snell_sandbox/server/src/main/java/org/apache/abdera/server/servlet/AbderaServlet.java
(original)
+++ incubator/abdera/java/branches/snell_sandbox/server/src/main/java/org/apache/abdera/server/servlet/AbderaServlet.java
Tue Jun 20 07:27:27 2006
@@ -65,7 +65,7 @@
       if (context.getLocation() != null)
         response.setHeader("Location", context.getLocation().toString());
       handleCachePolicy(response, context.getCachePolicy());
-      if (context.hasOutput())
+      if (context.hasEntity())
         context.writeTo(response.getOutputStream());
     } else {
       response.sendError(



Mime
View raw message