Skip to content

Commit bc5ebe4

Browse files
julienledemclaude
andcommitted
Fix formatting in DirectCodecFactory and ParquetMetadataConverter
Restore original comment indentation that was accidentally changed. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 2db3af9 commit bc5ebe4

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

parquet-hadoop/src/main/java/org/apache/parquet/format/converter/ParquetMetadataConverter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ public EncodingStats convertEncodingStats(List<PageEncodingStats> stats) {
761761
switch (stat.getPage_type()) {
762762
case DATA_PAGE_V2:
763763
builder.withV2Pages();
764-
// falls through
764+
// falls through
765765
case DATA_PAGE:
766766
builder.addDataEncoding(getEncoding(stat.getEncoding()), stat.getCount());
767767
break;

parquet-hadoop/src/main/java/org/apache/parquet/hadoop/DirectCodecFactory.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ protected BytesCompressor createCompressor(final CompressionCodecName codecName)
103103
return new SnappyCompressor();
104104
case ZSTD:
105105
return new ZstdCompressor();
106-
// todo: create class similar to the SnappyCompressor for zlib and exclude it as
107-
// snappy is above since it also generates allocateDirect calls.
106+
// todo: create class similar to the SnappyCompressor for zlib and exclude it as
107+
// snappy is above since it also generates allocateDirect calls.
108108
default:
109109
return super.createCompressor(codecName);
110110
}

0 commit comments

Comments
 (0)