Skip to content

Commit

Permalink
Merge pull request #132 from jenkinsci/lanwen-patch-1
Browse files Browse the repository at this point in the history
add some override annotations in ghcommitnotifier
  • Loading branch information
lanwen authored Jul 21, 2016
2 parents 6b10f5a + 9649beb commit 6fdefd9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/com/cloudbees/jenkins/GitHubCommitNotifier.java
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ public static Result getDefaultResultOnFailure() {
return Result.fromString(trimToEmpty(resultOnFailure));
}

@Override
public BuildStepMonitor getRequiredMonitorService() {
return BuildStepMonitor.NONE;
}
Expand Down Expand Up @@ -153,10 +154,12 @@ public void perform(@NonNull Run<?, ?> build,
@Extension
public static class DescriptorImpl extends BuildStepDescriptor<Publisher> {

@Override
public boolean isApplicable(Class<? extends AbstractProject> aClass) {
return true;
}

@Override
public String getDisplayName() {
return GitHubCommitNotifier_DisplayName();
}
Expand Down

0 comments on commit 6fdefd9

Please sign in to comment.