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

Commit

Permalink
Upgrade of dependencies and plugins to latest versions.
Browse files Browse the repository at this point in the history
Removed dependency to analysis-test.
  • Loading branch information
uhafner committed May 10, 2018
1 parent 92b1d6e commit ca5612e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
11 changes: 6 additions & 5 deletions pom.xml
Expand Up @@ -5,21 +5,22 @@
<parent>
<groupId>org.jvnet.hudson.plugins</groupId>
<artifactId>analysis-pom</artifactId>
<version>2.0-SNAPSHOT</version>
<version>1.99-SNAPSHOT</version>
<relativePath>../analysis-pom</relativePath>
</parent>

<artifactId>analysis-core</artifactId>
<packaging>hpi</packaging>
<name>Static Analysis Utilities</name>
<version>2.0-SNAPSHOT</version>
<version>1.99-SNAPSHOT</version>
<description>This plug-in provides utilities for the static code analysis plug-ins.</description>

<url>http://wiki.jenkins-ci.org/x/CwDgAQ</url>

<properties>
<pitest-maven.plugin>1.3.2</pitest-maven.plugin>
<pitest-maven.junit5.plugin>0.4</pitest-maven.junit5.plugin>
<pitest-maven.plugin>1.4.0</pitest-maven.plugin>
<pitest-maven.junit5.plugin>0.5</pitest-maven.junit5.plugin>
<bridge-method-annotation.version>1.17</bridge-method-annotation.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -72,7 +73,7 @@
<dependency>
<groupId>com.infradna.tool</groupId>
<artifactId>bridge-method-annotation</artifactId>
<version>1.17</version>
<version>${bridge-method-annotation.version}</version>
<optional>true</optional>
<exclusions>
<exclusion>
Expand Down
Expand Up @@ -40,9 +40,8 @@
import hudson.model.Run;

/**
* Stores the results of a static analysis run. This class is capable of storing a reference to the current build.
* Provides support for persisting the results of the build and loading and saving of issues (all, new, and fixed) and
* delta computation.
* Stores the results of a static analysis run. Provides support for persisting the results of the build and loading and
* saving of issues (all, new, and fixed) and delta computation.
*
* @author Ulli Hafner
*/
Expand Down Expand Up @@ -90,7 +89,7 @@ public class AnalysisResult implements Serializable {
private final Map<Severity, Integer> newSizePerSeverity;

private final ImmutableList<String> errors;
private final ImmutableList<String> infos;
private final ImmutableList<String> messages;

/** Determines since which build we have zero warnings. */
private int noIssuesSinceBuild;
Expand Down Expand Up @@ -254,7 +253,7 @@ protected AnalysisResult(final Run<?, ?> owner, final ReferenceProvider referenc
overallResult = Result.SUCCESS;
}

infos = Lists.immutable.withAll(messages);
this.messages = Lists.immutable.withAll(messages);
errors = report.getErrorMessages();

if (canSerialize) {
Expand Down Expand Up @@ -310,7 +309,7 @@ public ImmutableList<String> getErrorMessages() {
*/
@Exported
public ImmutableList<String> getInfoMessages() {
return infos;
return messages;
}

/**
Expand Down

0 comments on commit ca5612e

Please sign in to comment.