Optimize API and implementations of PerformableTree.State

Description

Now state.run always takes result of state.getFailure() invocation as input parameter (PerformableTree.java#L1165):

It's not required, since state object has access to its internal state.

  • Interface method should be simplified to

  • Internal implementation should be updated and refactored accordignly

Activity

Show:

Mauro Talevi May 20, 2018 at 3:11 PM

Pulled with thanks.

Valery Yatsynovich May 18, 2018 at 7:28 AM

Hi ,

Could you please review the pull request: https://github.com/jbehave/jbehave-core/pull/188/files ?

Thanks

Fixed

Details

Assignee

Reporter

Fix versions

Priority

Created May 18, 2018 at 7:23 AM
Updated May 21, 2018 at 1:38 PM
Resolved May 20, 2018 at 3:11 PM