Skip to content

Commit 751768a

Browse files
committed
Fix some toString methods in presto-orc (#23750)
Summary: Pull Request resolved: #23750 Differential Revision: D63643493
1 parent 64b5ebf commit 751768a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

presto-orc/src/main/java/com/facebook/presto/orc/ChunkedSliceOutput.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,9 +303,9 @@ public String toString(Charset charset)
303303
@Override
304304
public String toString()
305305
{
306-
StringBuilder builder = new StringBuilder("OutputStreamSliceOutputAdapter{");
306+
StringBuilder builder = new StringBuilder("ChunkedSliceOutput{");
307307
builder.append("position=").append(size());
308-
builder.append("bufferSize=").append(slice.length());
308+
builder.append(", bufferSize=").append(slice.length());
309309
builder.append('}');
310310
return builder.toString();
311311
}

presto-orc/src/main/java/com/facebook/presto/orc/OrcOutputBuffer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,9 +423,9 @@ public String toString(Charset charset)
423423
@Override
424424
public String toString()
425425
{
426-
StringBuilder builder = new StringBuilder("OutputStreamSliceOutputAdapter{");
426+
StringBuilder builder = new StringBuilder("OrcOutputBuffer{");
427427
builder.append("outputStream=").append(compressedOutputStream);
428-
builder.append("bufferSize=").append(slice.length());
428+
builder.append(", bufferSize=").append(slice.length());
429429
builder.append('}');
430430
return builder.toString();
431431
}

0 commit comments

Comments
 (0)