You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@abdera.apache.org by el...@apache.org on 2006/06/20 16:27:28 UTC
svn commit: r415652 -
/incubator/abdera/java/branches/snell_sandbox/server/src/main/java/org/apache/abdera/server/servlet/AbderaServlet.java
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(
Re: svn commit: r415652 - /incubator/abdera/java/branches/snell_sandbox/server/src/main/java/org/apache/abdera/server/servlet/AbderaServlet.java
Posted by Elias Torres <el...@torrez.us>.
Garrett Rooney wrote:
> On 6/20/06, eliast@apache.org <el...@apache.org> wrote:
>> 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
>
> It appears that this should have been committed with the previous
> change. It's important to commit ALL of the files associated with a
> change at once, as it makes merging changes between branches far
> easier.
>
> -garrett
>
I'm aware. I made a mistake. I committed the first two files and then
noticed I had one file left to commit. I'll be more careful next time.
-Elias
Re: svn commit: r415652 - /incubator/abdera/java/branches/snell_sandbox/server/src/main/java/org/apache/abdera/server/servlet/AbderaServlet.java
Posted by Garrett Rooney <ro...@electricjellyfish.net>.
On 6/20/06, eliast@apache.org <el...@apache.org> wrote:
> 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
It appears that this should have been committed with the previous
change. It's important to commit ALL of the files associated with a
change at once, as it makes merging changes between branches far
easier.
-garrett