From 46965d8c96272afe28faff534e9afb09d3d1f50b Mon Sep 17 00:00:00 2001 From: Anthony Whitford Date: Mon, 28 Dec 2015 13:13:00 -0800 Subject: [PATCH] Iterable does not need qualifying, and collection may be final. --- .../dependencycheck/data/update/nvd/UpdateableNvdCve.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dependency-check-core/src/main/java/org/owasp/dependencycheck/data/update/nvd/UpdateableNvdCve.java b/dependency-check-core/src/main/java/org/owasp/dependencycheck/data/update/nvd/UpdateableNvdCve.java index 2b2cf22b3..5ebb08fd5 100644 --- a/dependency-check-core/src/main/java/org/owasp/dependencycheck/data/update/nvd/UpdateableNvdCve.java +++ b/dependency-check-core/src/main/java/org/owasp/dependencycheck/data/update/nvd/UpdateableNvdCve.java @@ -32,12 +32,12 @@ import org.owasp.dependencycheck.utils.Downloader; * * @author Jeremy Long */ -public class UpdateableNvdCve implements java.lang.Iterable, Iterator { +public class UpdateableNvdCve implements Iterable, Iterator { /** * A collection of sources of data. */ - private Map collection = new TreeMap(); + private final Map collection = new TreeMap(); /** * Returns the collection of NvdCveInfo objects. This method is mainly used for testing.