File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -38,5 +38,5 @@ public interface ContentHeader extends Cloneable {
3838 * A debugging utility - enable properties to be appended to a string buffer for use as trace messages.
3939 * @param buffer a place to append the properties as a string
4040 */
41- public void appendPropertyDebugStringTo (Appendable buffer );
41+ public void appendPropertyDebugStringTo (StringBuilder buffer );
4242}
Original file line number Diff line number Diff line change @@ -58,8 +58,8 @@ private void writeTo(DataOutputStream out, long bodySize) throws IOException {
5858 public abstract void writePropertiesTo (ContentHeaderPropertyWriter writer ) throws IOException ;
5959
6060 /** Public API - {@inheritDoc} */
61- public void appendPropertyDebugStringTo (Appendable acc ) {
62- try { acc .append ("(?)" ); } catch ( IOException ioe ) { }
61+ public void appendPropertyDebugStringTo (StringBuilder acc ) {
62+ acc .append ("(?)" );
6363 }
6464
6565 @ Override public String toString () {
Original file line number Diff line number Diff line change @@ -63,8 +63,8 @@ public abstract class Method implements com.rabbitmq.client.Method {
6363 * Public API - debugging utility
6464 * @param buffer the buffer to append debug data to
6565 */
66- public void appendArgumentDebugStringTo (Appendable buffer ) {
67- try { buffer .append ("(?)" );} catch ( IOException ioe ) { }
66+ public void appendArgumentDebugStringTo (StringBuilder buffer ) {
67+ buffer .append ("(?)" );
6868 }
6969
7070 @ Override public String toString () {
You can’t perform that action at this time.
0 commit comments