X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.fileimport%2Fsrc%2Forg%2Fsimantics%2Ffileimport%2Fdropins%2FFileImportDropins.java;h=fb01e42e5cf3f61ba5f5db97c70fefb550e3358a;hp=a2632362baaef8f060291d48ea53d779c27374d4;hb=664f37a026967c90a9a8a4ef3c5336ee426f67aa;hpb=5915c1bbd6d0c6125aa3c815c7843339190f28e4 diff --git a/bundles/org.simantics.fileimport/src/org/simantics/fileimport/dropins/FileImportDropins.java b/bundles/org.simantics.fileimport/src/org/simantics/fileimport/dropins/FileImportDropins.java index a2632362b..fb01e42e5 100644 --- a/bundles/org.simantics.fileimport/src/org/simantics/fileimport/dropins/FileImportDropins.java +++ b/bundles/org.simantics.fileimport/src/org/simantics/fileimport/dropins/FileImportDropins.java @@ -141,14 +141,14 @@ public class FileImportDropins { current++; } - FileImportService.performFileImport(newPath, Optional.of(t -> { + FileImportService.performFileImport(newPath, Optional.empty(), Optional.of(t -> { if ((t instanceof FileSystemException) || (t instanceof FileNotFoundException)) { try { syncPath(newPath); } catch (IOException e) { e.printStackTrace(); } - FileImportService.performFileImport(newPath, Optional.empty()); + FileImportService.performFileImport(newPath, Optional.empty(), Optional.empty()); } else { t.printStackTrace(); }