Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
cc72c554
Commit
cc72c554
authored
10 years ago
by
jakubs
Browse files
Options
Downloads
Patches
Plain Diff
SSDM-911 - make some variables final in file operations mangaer
SVN: 32499
parent
6962772b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/server/plugins/standard/DistributedPackagingDataSetFileOperationsManager.java
+15
-7
15 additions, 7 deletions
...ard/DistributedPackagingDataSetFileOperationsManager.java
with
15 additions
and
7 deletions
datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/server/plugins/standard/DistributedPackagingDataSetFileOperationsManager.java
+
15
−
7
View file @
cc72c554
...
...
@@ -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
=
0
l
;
}
mappingFilePathOrNull
=
properties
.
getProperty
(
MAPPING_FILE_KEY
);
createArchives
=
PropertyUtils
.
getBoolean
(
properties
,
CREATE_ARCHIVES_KEY
,
false
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment