Skip to content
Snippets Groups Projects
Commit 340cccb0 authored by Sören Henning's avatar Sören Henning
Browse files

Merge branch 'feature/252-Upgrade-pmd' into 'master'

Upgrade PMD and Checkstyle versions

See merge request !188
parents 0321778c d69d2485
No related branches found
No related tags found
1 merge request!188Upgrade PMD and Checkstyle versions
Pipeline #5379 passed
...@@ -50,7 +50,7 @@ pmd { ...@@ -50,7 +50,7 @@ pmd {
ruleSets = [] // Gradle requires to clean the rule sets first ruleSets = [] // Gradle requires to clean the rule sets first
ruleSetFiles = files("$rootProject.projectDir/config/pmd.xml") ruleSetFiles = files("$rootProject.projectDir/config/pmd.xml")
ignoreFailures = false ignoreFailures = false
toolVersion = "6.7.0" toolVersion = "6.13.0"
} }
checkstyle { checkstyle {
...@@ -58,7 +58,7 @@ checkstyle { ...@@ -58,7 +58,7 @@ checkstyle {
configFile = file("$rootProject.projectDir/config/checkstyle.xml") configFile = file("$rootProject.projectDir/config/checkstyle.xml")
maxWarnings = 0 maxWarnings = 0
ignoreFailures = false ignoreFailures = false
toolVersion = "8.12" toolVersion = "8.19"
} }
spotbugs { spotbugs {
......
...@@ -5,7 +5,6 @@ import com.esotericsoftware.kryo.Serializer; ...@@ -5,7 +5,6 @@ import com.esotericsoftware.kryo.Serializer;
import com.esotericsoftware.kryo.io.Input; import com.esotericsoftware.kryo.io.Input;
import com.esotericsoftware.kryo.io.Output; import com.esotericsoftware.kryo.io.Output;
import com.google.common.math.Stats; import com.google.common.math.Stats;
import java.io.Serializable; import java.io.Serializable;
/** /**
...@@ -13,7 +12,7 @@ import java.io.Serializable; ...@@ -13,7 +12,7 @@ import java.io.Serializable;
*/ */
public class StatsSerializer extends Serializer<Stats> implements Serializable { public class StatsSerializer extends Serializer<Stats> implements Serializable {
private static final long serialVersionUID = -1276866176534267373L; //NOPMD private static final long serialVersionUID = -1276866176534267373L; // NOPMD
@Override @Override
public void write(final Kryo kryo, final Output output, final Stats object) { public void write(final Kryo kryo, final Output output, final Stats object) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment