Skip to content
Permalink
Browse files

[JENKINS-38987 Follow-up] Addressing @jglick's review comments

  • Loading branch information...
stephenc committed Oct 17, 2016
1 parent 3457d83 commit 2adbee000ae4c0b16a73ca54817a51f5fd6fa336
Showing with 4 additions and 4 deletions.
  1. +3 −3 pom.xml
  2. +1 −1 src/main/java/org/jenkinsci/plugins/workflow/multibranch/BranchJobProperty.java
@@ -69,7 +69,7 @@ THE SOFTWARE.
<dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-job</artifactId>
<version>2.8-SNAPSHOT</version>
<version>2.6</version>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
@@ -94,7 +94,7 @@ THE SOFTWARE.
<dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-api</artifactId>
<version>2.5-SNAPSHOT</version>
<version>2.3</version>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
@@ -140,7 +140,7 @@ THE SOFTWARE.
<dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-support</artifactId>
<version>2.9-SNAPSHOT</version>
<version>2.4</version>
<classifier>tests</classifier>
<scope>test</scope>
</dependency>
@@ -91,7 +91,7 @@ synchronized void setBranch(@Nonnull Branch branch) {
@Override
public <T> String getText(Message<T> text, T context) {
if (text == AbstractItem.PRONOUN && context instanceof WorkflowJob) {
WorkflowJob job = WorkflowJob.class.cast(context);
WorkflowJob job = (WorkflowJob) context;
BranchJobProperty property = job.getProperty(BranchJobProperty.class);
if (property != null) {
return property.getBranch().getHead().getPronoun();

0 comments on commit 2adbee0

Please sign in to comment.
You can’t perform that action at this time.