Variables may be final.

This commit is contained in:
Anthony Whitford
2015-12-28 13:15:24 -08:00
parent 0e15f3b703
commit b97622f45b
2 changed files with 2 additions and 2 deletions

View File

@@ -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.

View File

@@ -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.