mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-14 07:43:40 +01:00
formatting issues reported by the codacy is done
This commit is contained in:
@@ -94,6 +94,10 @@ public class Vulnerability implements Serializable, Comparable<Vulnerability> {
|
||||
* Whether or not all previous versions were affected.
|
||||
*/
|
||||
private String matchedAllPreviousCPE;
|
||||
/**
|
||||
* The notes for the vulnerability.
|
||||
*/
|
||||
private String notes;
|
||||
|
||||
/**
|
||||
* Get the value of name.
|
||||
@@ -118,6 +122,7 @@ public class Vulnerability implements Serializable, Comparable<Vulnerability> {
|
||||
*
|
||||
* @return the value of description
|
||||
*/
|
||||
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
@@ -279,11 +284,6 @@ public class Vulnerability implements Serializable, Comparable<Vulnerability> {
|
||||
this.cwe = cwe;
|
||||
}
|
||||
|
||||
/**
|
||||
* The notes for the vulnerability.
|
||||
*/
|
||||
private String notes;
|
||||
|
||||
/**
|
||||
* Get the value of notes from suppression notes.
|
||||
*
|
||||
|
||||
@@ -180,7 +180,7 @@ public class SuppressionRule {
|
||||
* The notes added in suppression file
|
||||
*/
|
||||
|
||||
private String notes = new String();
|
||||
private String notes;
|
||||
|
||||
/**
|
||||
* Get the value of notes.
|
||||
|
||||
Reference in New Issue
Block a user