Skip to content

Commit

Permalink
Merge pull request #278 from jglick/DefaultStepContext-FlowNode
Browse files Browse the repository at this point in the history
Use DefaultStepContext simplification
  • Loading branch information
dwnusbaum committed Apr 26, 2019
2 parents bab0f68 + 838d6cf commit 62fb226
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
<java.level>8</java.level>
<no-test-jar>false</no-test-jar>
<git-plugin.version>3.1.0</git-plugin.version>
<workflow-support-plugin.version>3.2</workflow-support-plugin.version>
<workflow-support-plugin.version>3.3</workflow-support-plugin.version>
<scm-api-plugin.version>2.2.6</scm-api-plugin.version>
<groovy-cps.version>1.27</groovy-cps.version>
<structs-plugin.version>1.17</structs-plugin.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,10 +291,6 @@ public CpsBodyInvoker newBodyInvoker() {

@Override
protected <T> T doGet(Class<T> key) throws IOException, InterruptedException {
if (FlowNode.class.isAssignableFrom(key)) {
return key.cast(getNode());
}

CpsThread t = getThreadSynchronously();
if (t == null) {
throw new IOException("cannot find current thread");
Expand Down

0 comments on commit 62fb226

Please sign in to comment.