Skip to content

Commit

Permalink
Fix JENKINS-10368
Browse files Browse the repository at this point in the history
  • Loading branch information
gboissinot committed Apr 21, 2012
1 parent 583b87c commit 17d9731
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -21,13 +21,13 @@ public AbstractCppcheckProjectAction(AbstractProject<?, ?> project) {
this.project = project;
}

@SuppressWarnings("unused")
public AbstractProject<?, ?> getProject() {
return project;
}


public String getIconFileName() {
return "/plugin/cppcheck/icons/cppcheck-24.png";
return "/plugin/cppcheck/icons/cppcheck-48.png";
}

public String getSearchUrl() {
Expand All @@ -38,6 +38,7 @@ public String getSearchUrl() {

protected abstract Integer getLastResultBuild();

@SuppressWarnings("unused")
public void doGraph(StaplerRequest req, StaplerResponse rsp) throws IOException {
AbstractBuild<?, ?> lastBuild = getLastFinishedBuild();
CppcheckBuildAction cppcheckBuildAction = lastBuild.getAction(CppcheckBuildAction.class);
Expand All @@ -46,6 +47,7 @@ public void doGraph(StaplerRequest req, StaplerResponse rsp) throws IOException
}
}

@SuppressWarnings("unused")
public void doIndex(StaplerRequest req, StaplerResponse rsp) throws IOException {
Integer buildNumber = getLastResultBuild();
if (buildNumber == null) {
Expand Down

0 comments on commit 17d9731

Please sign in to comment.