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
207ea090
Commit
207ea090
authored
12 years ago
by
brinn
Browse files
Options
Downloads
Patches
Plain Diff
Use entry.hasChecksum() to detect whether an HDF5 file has a checksum calculated.
SVN: 27725
parent
8113834c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
openbis-common/source/java/ch/systemsx/cisd/openbis/common/io/hierarchical_content/HDF5ContainerBasedHierarchicalContentNode.java
+1
-3
1 addition, 3 deletions
...al_content/HDF5ContainerBasedHierarchicalContentNode.java
with
1 addition
and
3 deletions
openbis-common/source/java/ch/systemsx/cisd/openbis/common/io/hierarchical_content/HDF5ContainerBasedHierarchicalContentNode.java
+
1
−
3
View file @
207ea090
...
@@ -351,9 +351,7 @@ public class HDF5ContainerBasedHierarchicalContentNode extends
...
@@ -351,9 +351,7 @@ public class HDF5ContainerBasedHierarchicalContentNode extends
@Override
@Override
public
boolean
isChecksumCRC32Precalculated
()
public
boolean
isChecksumCRC32Precalculated
()
{
{
// TODO 2012-07-19, Bernd Rinn: Use entry.hasChecksum() to reliably detect whether
return
checksum
!=
null
||
entry
.
hasChecksum
();
// this entry has a CRC32 checksum once JHDF5 is updated.
return
checksum
!=
null
||
entry
.
getCrc32
()
!=
0
;
}
}
@Override
@Override
...
...
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