Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix recently broken ModuleBase.skipBytes method #194

Merged
merged 1 commit into from
Mar 20, 2017

Conversation

david-russo
Copy link
Member

@david-russo david-russo commented Mar 17, 2017

Broken during incorrect merge of PR #117. Each loop of the skip method was skipping the same amount of bytes, not subtracting the amount already skipped. Reverted to original pull request code then refactored. Fixes #71, fixes #193.

Since this bug is in the core JHOVE code and can affect all modules, I'd say it warrants a minor version release.

Broken during incorrect merge of PR openpreserve#117. Each loop of the skip method
was skipping the same amount of bytes, not subtracting the amount already
skipped. Reverted to original pull request code then refactored.

Fixes openpreserve#71, fixes openpreserve#193.
@codecov
Copy link

codecov bot commented Mar 17, 2017

Codecov Report

Merging #194 into integration will decrease coverage by <.01%.
The diff coverage is 54.54%.

@@              Coverage Diff               @@
##           integration    #194      +/-   ##
==============================================
- Coverage         3.45%   3.44%   -0.01%     
==============================================
  Files              411     411              
  Lines            34695   34693       -2     
  Branches          6742    6742              
==============================================
- Hits              1197    1195       -2     
  Misses           33403   33403              
  Partials            95      95
Impacted Files Coverage Δ
...ain/java/edu/harvard/hul/ois/jhove/ModuleBase.java 20.25% <54.54%> (-0.42%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 93f9f5a...e26d5fe. Read the comment docs.

@carlwilson
Copy link
Member

I'd agree regarding that minor release, I'll prepare this and merge as soon as possible.

@carlwilson carlwilson merged commit e26d5fe into openpreserve:integration Mar 20, 2017
@david-russo david-russo deleted the skip-bytes-fix branch March 21, 2017 11:50
rgfeldman added a commit to rgfeldman/jhove that referenced this pull request Apr 10, 2019
rgfeldman added a commit to rgfeldman/jhove that referenced this pull request Apr 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants