mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-22 17:19:30 +01:00
minor correction
Former-commit-id: 436e1ffb049bce43cf0dce2f881b9b61744085b4
This commit is contained in:
@@ -217,16 +217,9 @@ public class DependencyBundlingAnalyzer extends AbstractAnalyzer implements Anal
|
|||||||
if (left.equalsIgnoreCase(right)) {
|
if (left.equalsIgnoreCase(right)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (dependency1.getFileName().contains("RELEASE") && dependency2.getFileName().contains("RELEASE")) {
|
|
||||||
System.out.println(dependency1.getFilePath());
|
|
||||||
System.out.println(dependency2.getFilePath());
|
|
||||||
System.out.println("Path=" + left.equalsIgnoreCase(right));
|
|
||||||
System.out.println();
|
|
||||||
}
|
|
||||||
if (left.matches(".*[/\\\\]repository[/\\\\].*") && right.matches(".*[/\\\\]repository[/\\\\].*")) {
|
if (left.matches(".*[/\\\\]repository[/\\\\].*") && right.matches(".*[/\\\\]repository[/\\\\].*")) {
|
||||||
left = getBaseRepoPath(left);
|
left = getBaseRepoPath(left);
|
||||||
right = getBaseRepoPath(right);
|
right = getBaseRepoPath(right);
|
||||||
System.out.println("found a repo");
|
|
||||||
}
|
}
|
||||||
return left.equalsIgnoreCase(right);
|
return left.equalsIgnoreCase(right);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user