Skip to content

Commit

Permalink
Merge pull request #687 from jenkinsci/dependabot/maven/edu.hm.hafner…
Browse files Browse the repository at this point in the history
…-codingstyle-pom-2.10.0

Bump codingstyle-pom from 2.9.0 to 2.10.0
  • Loading branch information
uhafner authored Oct 9, 2021
2 parents 584e24f + 27da788 commit 2c49e50
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>edu.hm.hafner</groupId>
<artifactId>codingstyle-pom</artifactId>
<version>2.9.0</version>
<version>2.11.0</version>
<relativePath />
</parent>

Expand Down Expand Up @@ -60,7 +60,7 @@
<incrementals.url>https://repo.jenkins-ci.org/incrementals/</incrementals.url>

<!-- Project Dependencies Configuration -->
<codingstyle.library.version>2.9.0</codingstyle.library.version>
<codingstyle.library.version>2.10.0</codingstyle.library.version>
<codingstyle.config.version>${codingstyle.library.version}</codingstyle.config.version>

<jmh.version>1.33</jmh.version>
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/edu/hm/hafner/analysis/FilteredLog.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

import com.google.errorprone.annotations.FormatMethod;

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

/**
* Filters the log of a {@link Report} instance so that only a limited number of errors will be reported. If the number
* of errors exceeds this limit, then subsequent error messages will be skipped.
Expand Down Expand Up @@ -42,6 +44,7 @@ public FilteredLog(final Report report, final String title) {
* @param maxLines
* the maximum number of lines to log
*/
@SuppressFBWarnings(value = "EI", justification = "Report is used as a delegate")
public FilteredLog(final Report report, final String title, final int maxLines) {
delegate = report;
this.title = title;
Expand Down
5 changes: 5 additions & 0 deletions src/main/java/edu/hm/hafner/analysis/IssueDifference.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
import java.util.Optional;
import java.util.UUID;

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

/**
* Computes old, new, and fixed issues based on the reports of two consecutive static analysis runs for the same
* software artifact.
Expand Down Expand Up @@ -124,6 +126,7 @@ private List<Issue> findReferenceByEquals(final Issue current) {
*
* @return the outstanding issues
*/
@SuppressFBWarnings("EI")
public Report getOutstandingIssues() {
return outstandingIssues;
}
Expand All @@ -134,6 +137,7 @@ public Report getOutstandingIssues() {
*
* @return the new issues
*/
@SuppressFBWarnings("EI")
public Report getNewIssues() {
return newIssues;
}
Expand All @@ -144,6 +148,7 @@ public Report getNewIssues() {
*
* @return the fixed issues
*/
@SuppressFBWarnings("EI")
public Report getFixedIssues() {
return fixedIssues;
}
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/edu/hm/hafner/analysis/parser/ccm/Ccm.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,16 @@
import java.util.ArrayList;
import java.util.List;

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

/**
* Entity used by {@link CcmParser} to represent the root node of CCM results file.
*
* @author Bruno P. Kinoshita - http://www.kinoshita.eti.br
* @since 1.0
*/
@SuppressWarnings("all")
@SuppressFBWarnings("EI")
public class Ccm {
/**
* List of metrics present in the XML file.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @author Rafal Jasica
*/
@SuppressWarnings("PMD.DataClass")
@SuppressFBWarnings("EI")
public class Fragment {
@CheckForNull
private String fileName;
Expand Down Expand Up @@ -90,7 +91,6 @@ public Range getOffsetRange() {
return offsetRange;
}


/**
* Sets the offset range to the specified value.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@
import java.util.Collections;
import java.util.List;

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

/**
* This is the Report-Class. It is mandatory to create Warnings. It represents the outer-most node within the
* report.xml.
*
* @author Johann Vierthaler, [email protected]
*/
@SuppressWarnings("PMD.DataClass")
@SuppressFBWarnings("EI")
public class Report {
private List<File> files = new ArrayList<>();

Expand Down

0 comments on commit 2c49e50

Please sign in to comment.