mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-15 00:03:43 +01:00
checkstyle corrections
Former-commit-id: 4235986f29cd91b212024844edf4360d1204deba
This commit is contained in:
@@ -325,7 +325,7 @@ public class Engine {
|
||||
Dependency dependency = null;
|
||||
if (supportsExtension(extension)) {
|
||||
dependency = new Dependency(file);
|
||||
if (extension == fileName){
|
||||
if (extension == null ? fileName == null : extension.equals(fileName)) {
|
||||
dependency.setFileExtension(extension);
|
||||
}
|
||||
dependencies.add(dependency);
|
||||
|
||||
Reference in New Issue
Block a user