Skip to content

Commit

Permalink
[JENKINS-38987 Follow-up] Addressing @jglick's review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenc committed Oct 17, 2016
1 parent 3457d83 commit 2adbee0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions pom.xml
Expand Up @@ -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>
Expand All @@ -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>
Expand Down Expand Up @@ -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>
Expand Down
Expand Up @@ -91,7 +91,7 @@ public static class AlternativeUiTextProviderImpl extends AlternativeUiTextProvi
@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();
Expand Down

0 comments on commit 2adbee0

Please sign in to comment.