mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-22 17:19:30 +01:00
Add missing @Overrides
This commit is contained in:
@@ -108,6 +108,7 @@ public class RubyBundlerAnalyzer extends RubyGemspecAnalyzer {
|
|||||||
final File gemsDir = new File(parentDir, GEMS);
|
final File gemsDir = new File(parentDir, GEMS);
|
||||||
if (gemsDir.exists()) {
|
if (gemsDir.exists()) {
|
||||||
final File[] matchingFiles = gemsDir.listFiles(new FilenameFilter() {
|
final File[] matchingFiles = gemsDir.listFiles(new FilenameFilter() {
|
||||||
|
@Override
|
||||||
public boolean accept(File dir, String name) {
|
public boolean accept(File dir, String name) {
|
||||||
return name.equals(gemName);
|
return name.equals(gemName);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -211,6 +211,7 @@ public class RubyGemspecAnalyzer extends AbstractFileTypeAnalyzer {
|
|||||||
final File parentDir = dependencyFile.getParentFile();
|
final File parentDir = dependencyFile.getParentFile();
|
||||||
if (parentDir != null) {
|
if (parentDir != null) {
|
||||||
final File[] matchingFiles = parentDir.listFiles(new FilenameFilter() {
|
final File[] matchingFiles = parentDir.listFiles(new FilenameFilter() {
|
||||||
|
@Override
|
||||||
public boolean accept(File dir, String name) {
|
public boolean accept(File dir, String name) {
|
||||||
return name.contains(VERSION_FILE_NAME);
|
return name.contains(VERSION_FILE_NAME);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -48,6 +48,7 @@ public class ComposerLockAnalyzerTest extends BaseDBTestCase {
|
|||||||
*
|
*
|
||||||
* @throws Exception thrown if there is a problem
|
* @throws Exception thrown if there is a problem
|
||||||
*/
|
*/
|
||||||
|
@Override
|
||||||
@Before
|
@Before
|
||||||
public void setUp() throws Exception {
|
public void setUp() throws Exception {
|
||||||
super.setUp();
|
super.setUp();
|
||||||
|
|||||||
@@ -63,6 +63,7 @@ public class RubyBundleAuditAnalyzerTest extends BaseDBTestCase {
|
|||||||
*
|
*
|
||||||
* @throws Exception thrown if there is a problem
|
* @throws Exception thrown if there is a problem
|
||||||
*/
|
*/
|
||||||
|
@Override
|
||||||
@Before
|
@Before
|
||||||
public void setUp() throws Exception {
|
public void setUp() throws Exception {
|
||||||
super.setUp();
|
super.setUp();
|
||||||
|
|||||||
Reference in New Issue
Block a user