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/b6577a8f Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/b6577a8f Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/b6577a8f Branch: refs/heads/3.1.x-fixes Commit: b6577a8fa68235fb8bb0103681906289bcf5e069 Parents: 85cf215 Author: Daniel Kulp <[email protected]> Authored: Mon Jan 18 15:50:55 2016 -0500 Committer: Daniel Kulp <[email protected]> Committed: Tue Feb 2 12:07:47 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/b6577a8f/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; }
