Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
[JENKINS-31202] Fixing duplicate graph in nonpipeline job, conflictin…
…g JENKINS-14615?
  • Loading branch information
benjaminfuchs committed Jul 17, 2016
1 parent f174d34 commit 3b8dd54f362bcca629cea1e8d70ec244445f2f39
Showing with 3 additions and 111 deletions.
  1. +3 −6 src/main/java/hudson/plugins/warnings/WarningsPublisher.java
  2. +0 −105 src/test/java/hudson/plugins/warnings/WarningsPublisherTest.java
@@ -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;

@@ -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() {

This file was deleted.

0 comments on commit 3b8dd54

Please sign in to comment.