Skip to content

Commit e73589c

Browse files
committed
Minor changes.
1 parent 4986784 commit e73589c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

external/kafka/src/main/scala/org/apache/spark/streaming/kafka/OffsetRange.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ final class OffsetRange private(
5050
}
5151

5252
override def toString(): String = {
53-
s"OffsetRange(topic='$topic', partition=$partition, range: [$fromOffset -> $untilOffset]"
53+
s"OffsetRange(topic: '$topic', partition: $partition, range: [$fromOffset -> $untilOffset]"
5454
}
5555

5656
/** this is to avoid ClassNotFoundException during checkpoint restore */

external/kafka/src/test/scala/org/apache/spark/streaming/kafka/DirectKafkaStreamSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import org.apache.spark.streaming.dstream.{DStream, InputDStream}
3434
import org.apache.spark.util.Utils
3535

3636
class DirectKafkaStreamSuite extends KafkaStreamSuiteBase
37-
with BeforeAndAfter with BeforeAndAfterAll with Eventually {
37+
with BeforeAndAfter with BeforeAndAfterAll with Eventually {
3838
val sparkConf = new SparkConf()
3939
.setMaster("local[4]")
4040
.setAppName(this.getClass.getSimpleName)

0 commit comments

Comments
 (0)