Skip to content

Commit 00e1ff0

Browse files
committed
Add default implementation to TestCaseState.getLanguage
1 parent 33f6196 commit 00e1ff0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cucumber-core/src/main/java/io/cucumber/core/backend/TestCaseState.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@ public interface TestCaseState {
8787
/**
8888
* @return the language of the Scenario.
8989
*/
90-
String getLanguage();
90+
default String getLanguage() {
91+
return null;
92+
}
9193

9294
/**
9395
* @return the line in the feature file of the Scenario. If this is a

0 commit comments

Comments
 (0)