checkstyle fixes

Former-commit-id: 4585dce6788c08f6e63a0bb34572874f7eb02877
This commit is contained in:
Jeremy Long
2013-05-27 19:54:41 -04:00
parent e18aedfabf
commit a3e4adb0af

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());
}
}