Skip to content
Snippets Groups Projects
Commit cc72c554 authored by jakubs's avatar jakubs
Browse files

SSDM-911 - make some variables final in file operations mangaer

SVN: 32499
parent 6962772b
No related branches found
No related tags found
No related merge requests found
......@@ -81,19 +81,19 @@ public class DistributedPackagingDataSetFileOperationsManager implements IDataSe
}
};
private boolean ignoreExisting;
private final boolean ignoreExisting;
private File defaultFolder;
private final File defaultFolder;
private File defaultSmallDataSetsFolder;
private final File defaultSmallDataSetsFolder;
private Long smallDataSetsSizeLimit;
private final Long smallDataSetsSizeLimit;
private boolean withSharding;
private final boolean withSharding;
private String mappingFilePathOrNull;
private final String mappingFilePathOrNull;
private boolean createArchives;
private final boolean createArchives;
private transient IEncapsulatedOpenBISService service;
......@@ -136,12 +136,20 @@ public class DistributedPackagingDataSetFileOperationsManager implements IDataSe
+ "' doesn't exist or is not a folder.");
}
}
else
{
defaultSmallDataSetsFolder = null;
}
long aSmallDataSetsSizeLimit = PropertyUtils.getLong(properties, SMALL_DATA_SETS_SIZE_LIMIT_KEY, -1);
if (aSmallDataSetsSizeLimit > 0)
{
smallDataSetsSizeLimit = aSmallDataSetsSizeLimit * 1024;
}
else
{
smallDataSetsSizeLimit = 0l;
}
mappingFilePathOrNull = properties.getProperty(MAPPING_FILE_KEY);
createArchives = PropertyUtils.getBoolean(properties, CREATE_ARCHIVES_KEY, false);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment