mirror of
https://github.com/Alfresco/SearchServices.git
synced 2026-09-16 18:12:56 +00:00
[SEARCH-1994]
replace existend file when copy tmp contentstore files
This commit is contained in:
+1
-1
@@ -1703,7 +1703,7 @@ class AlfrescoIndexFetcher
|
||||
try
|
||||
{
|
||||
Files.createDirectories(Paths.get(csFile.getParent()));
|
||||
Files.copy(tmpFile.toPath(), csFile.toPath());
|
||||
Files.copy(tmpFile.toPath(), csFile.toPath(), StandardCopyOption.REPLACE_EXISTING);
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user