Some cleanup

This commit is contained in:
Jeroen van Erp
2016-04-11 15:05:54 +02:00
parent b01eccda4a
commit cd3b0a5bd6
3 changed files with 2 additions and 3 deletions

View File

@@ -89,7 +89,7 @@ public class SFTPClient
public void mkdirs(String path)
throws IOException {
final Deque<String> dirsToMake = new LinkedList<String>();
final Deque<String> dirsToMake = new LinkedList<>();
for (PathComponents current = engine.getPathHelper().getComponents(path); ;
current = engine.getPathHelper().getComponents(current.getParent())) {
final FileAttributes attrs = statExistence(current.getPath());