Skip to content

Commit

Permalink
Fix style errors
Browse files Browse the repository at this point in the history
  • Loading branch information
holdenk committed Apr 29, 2015
1 parent d9d03f3 commit fac14a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/src/main/scala/org/apache/spark/SparkContext.scala
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ class SparkContext(config: SparkConf) extends Logging with ExecutorAllocationCli
* Valid log levels include: ALL, DEBUG, ERROR, FATAL, INFO, OFF, TRACE, WARN
* Invalid log level defaults to DEBUG
*/
def setLoggingLevel(logLevel: String) = {
def setLoggingLevel(logLevel: String) {
Utils.setLoggingLevel(org.apache.log4j.Level.toLevel(logLevel))
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ class JavaSparkContext(val sc: SparkContext)
* Valid log levels include: ALL, DEBUG, ERROR, FATAL, INFO, OFF, TRACE, WARN
* Invalid log level defaults to DEBUG
*/
def setLoggingLevel(logLevel: String) = {
def setLoggingLevel(logLevel: String) {
sc.setLoggingLevel(logLevel)
}

Expand Down

0 comments on commit fac14a0

Please sign in to comment.