* Simplify return statement, removing local variable.

This commit is contained in:
hns 2006-10-16 13:12:24 +00:00
parent 3e7c260787
commit 58e9431da1

View file

@ -104,9 +104,7 @@ public class FtpObject extends ScriptableObject {
ftpclient = new FTPClient();
ftpclient.connect(server);
boolean b = ftpclient.login(username, password);
return b;
return ftpclient.login(username, password);
} catch (Exception x) {
return false;
} catch (NoClassDefFoundError x) {