Skip to content

Commit

Permalink
[SPARK-12332][TRIVIAL][TEST] Fix minor typo in ResetSystemProperties
Browse files Browse the repository at this point in the history
Fix a minor typo (unbalanced bracket) in ResetSystemProperties.

Author: Holden Karau <holden@us.ibm.com>

Closes #10303 from holdenk/SPARK-12332-trivial-typo-in-ResetSystemProperties-comment.
  • Loading branch information
holdenk authored and srowen committed Dec 15, 2015
1 parent 606f99b commit c59df8c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ private[spark] trait ResetSystemProperties extends BeforeAndAfterEach { this: Su
var oldProperties: Properties = null

override def beforeEach(): Unit = {
// we need SerializationUtils.clone instead of `new Properties(System.getProperties()` because
// we need SerializationUtils.clone instead of `new Properties(System.getProperties())` because
// the later way of creating a copy does not copy the properties but it initializes a new
// Properties object with the given properties as defaults. They are not recognized at all
// by standard Scala wrapper over Java Properties then.
Expand Down

0 comments on commit c59df8c

Please sign in to comment.