formatting issues reported by the codacy is done

This commit is contained in:
Prakhash
2017-02-24 14:43:46 +05:30
parent 583c2d34d3
commit 3071cfd7be
2 changed files with 6 additions and 6 deletions

View File

@@ -94,6 +94,10 @@ public class Vulnerability implements Serializable, Comparable<Vulnerability> {
* Whether or not all previous versions were affected. * Whether or not all previous versions were affected.
*/ */
private String matchedAllPreviousCPE; private String matchedAllPreviousCPE;
/**
* The notes for the vulnerability.
*/
private String notes;
/** /**
* Get the value of name. * Get the value of name.
@@ -118,6 +122,7 @@ public class Vulnerability implements Serializable, Comparable<Vulnerability> {
* *
* @return the value of description * @return the value of description
*/ */
public String getDescription() { public String getDescription() {
return description; return description;
} }
@@ -279,11 +284,6 @@ public class Vulnerability implements Serializable, Comparable<Vulnerability> {
this.cwe = cwe; this.cwe = cwe;
} }
/**
* The notes for the vulnerability.
*/
private String notes;
/** /**
* Get the value of notes from suppression notes. * Get the value of notes from suppression notes.
* *

View File

@@ -180,7 +180,7 @@ public class SuppressionRule {
* The notes added in suppression file * The notes added in suppression file
*/ */
private String notes = new String(); private String notes;
/** /**
* Get the value of notes. * Get the value of notes.