Skip to content

Commit fac14a0

Browse files
committed
Fix style errors
1 parent d9d03f3 commit fac14a0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/src/main/scala/org/apache/spark/SparkContext.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ class SparkContext(config: SparkConf) extends Logging with ExecutorAllocationCli
348348
* Valid log levels include: ALL, DEBUG, ERROR, FATAL, INFO, OFF, TRACE, WARN
349349
* Invalid log level defaults to DEBUG
350350
*/
351-
def setLoggingLevel(logLevel: String) = {
351+
def setLoggingLevel(logLevel: String) {
352352
Utils.setLoggingLevel(org.apache.log4j.Level.toLevel(logLevel))
353353
}
354354

core/src/main/scala/org/apache/spark/api/java/JavaSparkContext.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@ class JavaSparkContext(val sc: SparkContext)
760760
* Valid log levels include: ALL, DEBUG, ERROR, FATAL, INFO, OFF, TRACE, WARN
761761
* Invalid log level defaults to DEBUG
762762
*/
763-
def setLoggingLevel(logLevel: String) = {
763+
def setLoggingLevel(logLevel: String) {
764764
sc.setLoggingLevel(logLevel)
765765
}
766766

0 commit comments

Comments
 (0)