|
@@ -73,8 +73,7 @@ public class FSBasedSubmarineStorageImpl extends SubmarineStorage {
|
|
|
private Path getModelInfoPath(String modelName, String version, boolean create)
|
|
|
throws IOException {
|
|
|
Path modelDir = rdm.getModelDir(modelName, create);
|
|
|
- Path modelInfo = new Path(modelDir, version + ".info");
|
|
|
- return modelInfo;
|
|
|
+ return new Path(modelDir, version + ".info");
|
|
|
}
|
|
|
|
|
|
private void serializeMap(FSDataOutputStream fos, Map<String, String> map)
|
|
@@ -98,7 +97,6 @@ public class FSBasedSubmarineStorageImpl extends SubmarineStorage {
|
|
|
|
|
|
private Path getJobInfoPath(String jobName, boolean create) throws IOException {
|
|
|
Path path = rdm.getJobStagingArea(jobName, create);
|
|
|
- Path fileName = new Path(path, "job.info");
|
|
|
- return fileName;
|
|
|
+ return new Path(path, "job.info");
|
|
|
}
|
|
|
}
|