@@ -84,18 +84,18 @@ public List<EntityInfo> selectAndExpandDestination(TransferJobRequest.Destinatio
84
84
return sftpExpander .expandedDestFileSystem (destination .getFileDestinationPath ());
85
85
case http :
86
86
httpExpander .createClient (destination .getVfsDestCredential ());
87
- return httpExpander .expandedFileSystem ( selectedResources , destination .getFileDestinationPath ());
87
+ return httpExpander .expandedDestFileSystem ( destination .getFileDestinationPath ());
88
88
case box :
89
89
boxExpander .createClient (destination .getOauthDestCredential ());
90
- return boxExpander .expandedFileSystem ( selectedResources , destination .getFileDestinationPath ());
90
+ return boxExpander .expandedDestFileSystem ( destination .getFileDestinationPath ());
91
91
case dropbox :
92
92
dropBoxExpander .createClient (destination .getOauthDestCredential ());
93
- return dropBoxExpander .expandedFileSystem ( selectedResources , destination .getFileDestinationPath ());
93
+ return dropBoxExpander .expandedDestFileSystem ( destination .getFileDestinationPath ());
94
94
case vfs :
95
95
return selectedResources ;
96
96
case gdrive :
97
97
gDriveExpander .createClient (destination .getOauthDestCredential ());
98
- return gDriveExpander .expandedFileSystem ( selectedResources , destination .getFileDestinationPath ());
98
+ return gDriveExpander .expandedDestFileSystem ( destination .getFileDestinationPath ());
99
99
100
100
}
101
101
return null ;
@@ -174,14 +174,14 @@ public TransferJobRequest createRequest(RequestFromODS odsTransferRequest) {
174
174
if (transferJobRequest .getOptions ().isOverwrite ())
175
175
s .setInfoList (expandedFiles );
176
176
else {
177
- //Check files present in destination (given path level only) and remove them from infoList sent from source
177
+ //Check files present in destination (given path level only)
178
178
179
179
//can use selectAndExpand but not for vfs
180
180
List <EntityInfo > destExpandedFiles = this .selectAndExpandDestination (d , new ArrayList <>());
181
181
182
182
183
183
/*
184
- for each file ID at dest, check if present in source list, if no, no action, if yes, remove that file id from src info list
184
+ for each file ID at dest, check if present in source list, if yes, remove that file id from src info list
185
185
expandedFiles.remove()
186
186
s.setInfoList(expandedFiles);
187
187
*/
0 commit comments