You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2016/01/18 21:51:15 UTC
cxf git commit: Remove an un-used variable
Repository: cxf
Updated Branches:
refs/heads/master 1247e04ec -> 7dcfe81d4
Remove an un-used variable
Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/7dcfe81d
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/7dcfe81d
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/7dcfe81d
Branch: refs/heads/master
Commit: 7dcfe81d4b4cdbe65eb84cf00b857fd6f7315faf
Parents: 1247e04
Author: Daniel Kulp <dk...@apache.org>
Authored: Mon Jan 18 15:50:55 2016 -0500
Committer: Daniel Kulp <dk...@apache.org>
Committed: Mon Jan 18 15:50:55 2016 -0500
----------------------------------------------------------------------
.../org/apache/cxf/transport/http/AbstractHTTPDestination.java | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cxf/blob/7dcfe81d/rt/transports/http/src/main/java/org/apache/cxf/transport/http/AbstractHTTPDestination.java
----------------------------------------------------------------------
diff --git a/rt/transports/http/src/main/java/org/apache/cxf/transport/http/AbstractHTTPDestination.java b/rt/transports/http/src/main/java/org/apache/cxf/transport/http/AbstractHTTPDestination.java
index d79e75b..11c48d2 100644
--- a/rt/transports/http/src/main/java/org/apache/cxf/transport/http/AbstractHTTPDestination.java
+++ b/rt/transports/http/src/main/java/org/apache/cxf/transport/http/AbstractHTTPDestination.java
@@ -726,7 +726,7 @@ public abstract class AbstractHTTPDestination
OutputStream os = message.getContent(OutputStream.class);
if (os == null) {
message.setContent(OutputStream.class,
- new WrappedOutputStream(message, response));
+ new WrappedOutputStream(message));
}
}
@@ -758,13 +758,11 @@ public abstract class AbstractHTTPDestination
*/
private class WrappedOutputStream extends AbstractWrappedOutputStream implements CopyingOutputStream {
- protected HttpServletResponse response;
private Message outMessage;
- WrappedOutputStream(Message m, HttpServletResponse resp) {
+ WrappedOutputStream(Message m) {
super();
this.outMessage = m;
- response = resp;
}