PROTON-954: remove unused 'offset' and commented out system.out debug
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/fff10617 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/fff10617 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/fff10617 Branch: refs/heads/master Commit: fff1061738a68e3c2de641b7c768c5df9cd68498 Parents: 1368265 Author: Robert Gemmell <[email protected]> Authored: Thu Jul 23 12:57:01 2015 +0100 Committer: Robert Gemmell <[email protected]> Committed: Thu Jul 23 12:57:01 2015 +0100 ---------------------------------------------------------------------- .../java/org/apache/qpid/proton/engine/impl/FrameWriter.java | 5 ----- 1 file changed, 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/fff10617/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/FrameWriter.java ---------------------------------------------------------------------- diff --git a/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/FrameWriter.java b/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/FrameWriter.java index 4c2cc9d..aaff3e8 100644 --- a/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/FrameWriter.java +++ b/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/FrameWriter.java @@ -125,9 +125,6 @@ class FrameWriter _buffer.put(_frameType); _buffer.putShort((short) channel); _buffer.position(limit); - - int offset = _bbuf.arrayOffset() + _frameStart; - //System.out.println("RAW: \"" + new Binary(_bbuf.array(), offset, frameSize) + "\""); } void writeFrame(int channel, Object frameBody, ByteBuffer payload, @@ -219,8 +216,6 @@ class FrameWriter _bbuf.rewind(); _bbuf.put(src); - //System.out.println("RAW: \"" + new Binary(dst.array(), dst.arrayOffset(), dst.position()) + "\""); - return size; } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
