mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-06 11:02:25 +00:00
ignore files for import if they start with "."
This commit is contained in:
1 parent
91b86d18fa
commit
bb413ced3e
1 file changed
+1
-1
+1
-1
@@ -28,7 +28,7 @@ public class FileBasedResultDocumentProvider implements ResultDocumentProvider {
|
||||
final File[] fileList = scanDir.listFiles();
|
||||
if (fileList != null) {
|
||||
for (File file : fileList) {
|
||||
if (file.isFile()) {
|
||||
if (file.isFile() && !file.getName().startsWith(".")) {
|
||||
logger.fine("adding " + file + " to result import list");
|
||||
result.add(new Triple<InputStream, String, TimePoint>(new FileInputStream(file), file.toString(),
|
||||
new MillisecondsTimePoint(file.lastModified())));
|
||||
|
||||
Reference in new issue
Block a user