if (i + 1 == args.length) {\r
System.out.println("Invalid --baseFolder parameter!");\r
System.exit(-1);\r
- } else if (args[i + 1] != ".") {\r
+ } else if (!".".equals(args[i + 1])) {\r
folder = args[i + 1];\r
}\r
i = i + 1;\r
\r
// Start up an in-memory LDAP server, if configured\r
try {\r
- if (StringUtils.isEmpty(params.ldapLdifFile) == false) {\r
+ if (!StringUtils.isEmpty(params.ldapLdifFile)) {\r
File ldifFile = new File(params.ldapLdifFile);\r
if (ldifFile != null && ldifFile.exists()) {\r
URI ldapUrl = new URI(settings.getRequiredString(Keys.realm.ldap.server));\r