Skip to content
This repository has been archived by the owner on Nov 15, 2020. It is now read-only.

Commit

Permalink
Merge pull request #23 from sbtqa/getFeature
Browse files Browse the repository at this point in the history
Use getFeature()
  • Loading branch information
kosteman authored Feb 14, 2017
2 parents 979c197 + 1a9adcf commit 51b4b3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<dependency>
<groupId>ru.sbtqa.tag</groupId>
<artifactId>cucumber-runner</artifactId>
<version>1.0.0</version>
<version>1.0.2</version>
<type>jar</type>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/ru/sbtqa/tag/pagefactory/Page.java
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,7 @@ private static Boolean isRequiredAction(Method method, final String title) {
for (ActionTitle action : actionList) {
String actionValue = action.value();
try {
I18N i18n = I18N.getI18n(method.getDeclaringClass(), TagCucumber.cucumberFeature.getI18n().getLocale(), I18N.DEFAULT_BUNDLE_PATH);
I18N i18n = I18N.getI18n(method.getDeclaringClass(), TagCucumber.getFeature().getI18n().getLocale(), I18N.DEFAULT_BUNDLE_PATH);
actionValue = i18n.get(action.value());
} catch (I18NRuntimeException e) {
LOG.debug("There is no bundle for translation class. Leave it as is", e);
Expand Down

0 comments on commit 51b4b3d

Please sign in to comment.