mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-23 17:41:28 +01:00
Added missing final keywords.
This commit is contained in:
@@ -271,9 +271,9 @@ public class ArchiveAnalyzer extends AbstractFileTypeAnalyzer {
|
|||||||
* @return any dependencies that weren't known to the engine before
|
* @return any dependencies that weren't known to the engine before
|
||||||
*/
|
*/
|
||||||
private static Set<Dependency> findMoreDependencies(Engine engine, File file) {
|
private static Set<Dependency> findMoreDependencies(Engine engine, File file) {
|
||||||
List<Dependency> before = new ArrayList<Dependency>(engine.getDependencies());
|
final List<Dependency> before = new ArrayList<Dependency>(engine.getDependencies());
|
||||||
engine.scan(file);
|
engine.scan(file);
|
||||||
List<Dependency> after = engine.getDependencies();
|
final List<Dependency> after = engine.getDependencies();
|
||||||
final boolean sizeChanged = before.size() != after.size();
|
final boolean sizeChanged = before.size() != after.size();
|
||||||
final Set<Dependency> newDependencies;
|
final Set<Dependency> newDependencies;
|
||||||
if (sizeChanged) {
|
if (sizeChanged) {
|
||||||
@@ -451,7 +451,7 @@ public class ArchiveAnalyzer extends AbstractFileTypeAnalyzer {
|
|||||||
*
|
*
|
||||||
* @param closeable to be closed
|
* @param closeable to be closed
|
||||||
*/
|
*/
|
||||||
private static void close(Closeable closeable){
|
private static void close(Closeable closeable) {
|
||||||
if (null != closeable) {
|
if (null != closeable) {
|
||||||
try {
|
try {
|
||||||
closeable.close();
|
closeable.close();
|
||||||
|
|||||||
Reference in New Issue
Block a user