Skip to content
This repository has been archived by the owner on Apr 6, 2022. It is now read-only.

Commit

Permalink
[JENKINS-31202] Fixing duplicate graph in nonpipeline job, conflictin…
Browse files Browse the repository at this point in the history
…g JENKINS-14615?
  • Loading branch information
benjaminfuchs committed Jul 17, 2016
1 parent f174d34 commit 3b8dd54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 111 deletions.
9 changes: 3 additions & 6 deletions src/main/java/hudson/plugins/warnings/WarningsPublisher.java
Expand Up @@ -14,6 +14,8 @@

import com.google.common.collect.Lists;
import com.google.common.collect.Sets;
import java.util.Collection;
import java.util.Collections;

import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;

Expand Down Expand Up @@ -271,12 +273,7 @@ public Action getProjectAction(final AbstractProject<?, ?> project) {

@Override
public Collection<? extends Action> getProjectActions(final AbstractProject<?, ?> project) {
List<Action> actions = Lists.newArrayList();
for (String parserName : getParsers()) {
actions.add(new WarningsProjectAction(project, parserName));
}
actions.add(new AggregatedWarningsProjectAction(project));
return actions;
return Collections.emptyList();
}

private List<String> getParsers() {
Expand Down
105 changes: 0 additions & 105 deletions src/test/java/hudson/plugins/warnings/WarningsPublisherTest.java

This file was deleted.

0 comments on commit 3b8dd54

Please sign in to comment.