checkstyle fixes

Former-commit-id: 5281b8ecb5163ce4a0a6464fea4f6d2a4baffafd
This commit is contained in:
Jeremy Long
2013-05-27 19:54:41 -04:00
parent 933a8f8ec6
commit 61a1531e7b

View File

@@ -81,7 +81,7 @@ public final class FileUtils {
* @throws IOException is thrown if the path could not be decoded
*/
public static File getDataDirectory(String configuredFilePath, Class clazz) throws IOException {
File file = new File(configuredFilePath);
final File file = new File(configuredFilePath);
if (file.exists() && file.isDirectory() && file.canWrite()) {
return new File(file.getCanonicalPath());
} else {
@@ -93,7 +93,7 @@ public final class FileUtils {
} else {
exePath = new File(".");
}
File path = new File(exePath.getCanonicalFile() + File.separator + configuredFilePath);
final File path = new File(exePath.getCanonicalFile() + File.separator + configuredFilePath);
return new File(path.getCanonicalPath());
}
}