Skip to content
Snippets Groups Projects
Commit 207ea090 authored by brinn's avatar brinn
Browse files

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
......@@ -351,9 +351,7 @@ public class HDF5ContainerBasedHierarchicalContentNode extends
@Override
public boolean isChecksumCRC32Precalculated()
{
// TODO 2012-07-19, Bernd Rinn: Use entry.hasChecksum() to reliably detect whether
// this entry has a CRC32 checksum once JHDF5 is updated.
return checksum != null || entry.getCrc32() != 0;
return checksum != null || entry.hasChecksum();
}
@Override
......
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