mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-22 17:19:30 +01:00
ide suggested changes
This commit is contained in:
@@ -38,30 +38,30 @@ public class EvidenceMatcher {
|
|||||||
/**
|
/**
|
||||||
* The name that the {@link Evidence} should have for a match.
|
* The name that the {@link Evidence} should have for a match.
|
||||||
*/
|
*/
|
||||||
private String name;
|
private final String name;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The source that the {@link Evidence} should have for a match. A
|
* The source that the {@link Evidence} should have for a match. A
|
||||||
* {@code null}-value is allowed and functions as a wildcard.
|
* {@code null}-value is allowed and functions as a wildcard.
|
||||||
*/
|
*/
|
||||||
private String source;
|
private final String source;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The value that the {@link Evidence} should have for a match.
|
* The value that the {@link Evidence} should have for a match.
|
||||||
*/
|
*/
|
||||||
private String value;
|
private final String value;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Whether the {@link EvidenceMatcher#value} should be interpreted as a
|
* Whether the {@link EvidenceMatcher#value} should be interpreted as a
|
||||||
* regular expression.
|
* regular expression.
|
||||||
*/
|
*/
|
||||||
private boolean regex = false;
|
private final boolean regex;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The confidence that the {@link Evidence} should have for a match. A
|
* The confidence that the {@link Evidence} should have for a match. A
|
||||||
* {@code null}-value is allowed and functions as a wildcard.
|
* {@code null}-value is allowed and functions as a wildcard.
|
||||||
*/
|
*/
|
||||||
private Confidence confidence;
|
private final Confidence confidence;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a new EvidenceMatcher objects.
|
* Creates a new EvidenceMatcher objects.
|
||||||
|
|||||||
Reference in New Issue
Block a user