Skip to content

Commit

Permalink
Removed exposure of properties variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
wzorgdrager committed Feb 20, 2019
1 parent 42cac2c commit 9dcd0a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ protected[codefeedr] abstract class Stage[
*
* @return The properties of this stage.
*/
def properties: Properties =
private def properties: Properties =
if (pipeline != null) pipeline.propertiesOf(this) else null

/** Setups the pipeline object with a pipeline.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class StageTest extends FunSuite {

stage.setUp(pipeline)

assert(stage.properties.get("a").get == "b")
assert(stage.properties.get("c").isEmpty)
assert(stage.getContext.stageProperties.get("a").get == "b")
assert(stage.getContext.stageProperties.get("c").isEmpty)
}
}

0 comments on commit 9dcd0a0

Please sign in to comment.