mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
19 lines
385 B
Java
19 lines
385 B
Java
package p;
|
|
|
|
import java.io.File;
|
|
import java.io.IOException;
|
|
import java.nio.file.Files;
|
|
|
|
public class ImplOfExternalSPI extends AbstractImplOfExternalSPI {
|
|
|
|
@Override
|
|
public boolean accept(File pathname) {
|
|
try {
|
|
Files.createFile(pathname.toPath());
|
|
} catch (IOException e) {
|
|
e.printStackTrace();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
} |