Skip to content

Commit c502085

Browse files
committed
refactor: 💡 Make ScalaStepDetails private
1 parent 26b28bb commit c502085

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎cucumber-scala/src/main/scala/io/cucumber/scala/ScalaDslRegistry.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package io.cucumber.scala
22

33
import io.cucumber.scala.HookType.{AFTER, AFTER_STEP, BEFORE, BEFORE_STEP}
44

5-
class ScalaDslRegistry {
5+
final class ScalaDslRegistry {
66

77
private var _stepDefinitions: Seq[ScalaStepDetails] = Seq()
88

‎cucumber-scala/src/main/scala/io/cucumber/scala/ScalaStepDetails.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import java.lang.reflect.{Type => JType}
1111
* @param types Parameters types of body step definition
1212
* @param body Function body of a step definition. This is what actually runs the code within the step def.
1313
*/
14-
case class ScalaStepDetails(
14+
private[scala] case class ScalaStepDetails(
1515
frame: StackTraceElement,
1616
name: String,
1717
pattern: String,

0 commit comments

Comments
 (0)