INT-2387 changed mkdir() method in Session to return boolean

This commit is contained in:
Oleg Zhurakousky
2012-01-05 17:13:54 -05:00
parent 58602d4802
commit 15e64b707b
6 changed files with 15 additions and 11 deletions

View File

@@ -119,8 +119,8 @@ class FtpSession implements Session<FTPFile> {
}
}
public void mkdir(String remoteDirectory) throws IOException {
this.client.makeDirectory(remoteDirectory);
public boolean mkdir(String remoteDirectory) throws IOException {
return this.client.makeDirectory(remoteDirectory);
}
public boolean exists(String path) throws IOException{