mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-21 16:49:43 +01:00
Variables may be final.
This commit is contained in:
@@ -241,7 +241,7 @@ public class Model {
|
|||||||
/**
|
/**
|
||||||
* The list of licenses.
|
* The list of licenses.
|
||||||
*/
|
*/
|
||||||
private List<License> licenses = new ArrayList<License>();
|
private final List<License> licenses = new ArrayList<License>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the list of licenses.
|
* Returns the list of licenses.
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ public class PomHandler extends DefaultHandler {
|
|||||||
/**
|
/**
|
||||||
* The pom model.
|
* The pom model.
|
||||||
*/
|
*/
|
||||||
private Model model = new Model();
|
private final Model model = new Model();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the model obtained from the pom.xml.
|
* Returns the model obtained from the pom.xml.
|
||||||
|
|||||||
Reference in New Issue
Block a user