Skip to content

Commit a43fcfb

Browse files
author
Davies Liu
committed
remove semicolon
1 parent c83571a commit a43fcfb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/main/scala/org/apache/spark/input/WholeTextFileRecordReader.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ private[spark] class WholeTextFileRecordReader(
6666
override def nextKeyValue(): Boolean = {
6767
if (!processed) {
6868
val conf = new Configuration
69-
val factory = new CompressionCodecFactory(conf);
70-
val codec = factory.getCodec(path); // infers from file ext.
69+
val factory = new CompressionCodecFactory(conf)
70+
val codec = factory.getCodec(path) // infers from file ext.
7171
val fileIn = fs.open(path)
7272
val innerBuffer = if (codec != null) {
7373
ByteStreams.toByteArray(codec.createInputStream(fileIn))

0 commit comments

Comments
 (0)