@@ -131,7 +131,7 @@ public class TestParquetFileWriter {
131131
132132 private static final Logger LOG = LoggerFactory .getLogger (TestParquetFileWriter .class );
133133
134- private static final MessageType SCHEMA = MessageTypeParser .parseMessageType ("" + " message m {"
134+ private static final MessageType SCHEMA = MessageTypeParser .parseMessageType ("message m {"
135135 + " required group a {"
136136 + " required binary b;"
137137 + " }"
@@ -155,8 +155,6 @@ public class TestParquetFileWriter {
155155 Types .required (PrimitiveTypeName .BINARY ).named ("test_binary" ))
156156 .build ();
157157
158- private String writeSchema ;
159-
160158 @ Rule
161159 public final TemporaryFolder temp = new TemporaryFolder ();
162160
@@ -1031,7 +1029,7 @@ public void testWriteReadStatisticsAllNulls() throws Exception {
10311029 File testFile = temp .newFile ();
10321030 testFile .delete ();
10331031
1034- writeSchema = "message example {\n " + "required binary content (UTF8);\n " + "}" ;
1032+ String writeSchema = "message example {\n " + "required binary content (UTF8);\n " + "}" ;
10351033
10361034 Path path = new Path (testFile .toURI ());
10371035
@@ -1040,7 +1038,7 @@ public void testWriteReadStatisticsAllNulls() throws Exception {
10401038 configuration .setBoolean ("parquet.strings.signed-min-max.enabled" , true );
10411039 GroupWriteSupport .setSchema (schema , configuration );
10421040
1043- // close any filesystems to ensure that the the FS used by the writer picks up the configuration
1041+ // close any filesystems to ensure that the FS used by the writer picks up the configuration
10441042 FileSystem .closeAll ();
10451043 ParquetWriter <Group > writer = new ParquetWriter <Group >(path , configuration , new GroupWriteSupport ());
10461044
0 commit comments