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

Refine unused code for newline #51

Merged
merged 2 commits into from Apr 19, 2017

Conversation

ayamada
Copy link
Contributor

@ayamada ayamada commented Apr 18, 2017

newline-character, return-character, newline*? and newline? were not used, refine it.

@codecov-io
Copy link

codecov-io commented Apr 18, 2017

Codecov Report

Merging #51 into master will increase coverage by 0.49%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #51      +/-   ##
==========================================
+ Coverage   73.36%   73.86%   +0.49%     
==========================================
  Files          56       56              
  Lines        3293     3287       -6     
  Branches      329      334       +5     
==========================================
+ Hits         2416     2428      +12     
+ Misses        548      525      -23     
- Partials      329      334       +5
Impacted Files Coverage Δ
src/cljam/fasta/reader.clj 70.27% <100%> (+0.7%) ⬆️
src/cljam/util/sam_util.clj 84.01% <0%> (+0.81%) ⬆️
src/cljam/pileup/mpileup.clj 88.7% <0%> (+7.25%) ⬆️
src/cljam/util/chromosome.clj 100% <0%> (+9.67%) ⬆️
src/cljam/pileup.clj 100% <0%> (+14.28%) ⬆️

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 e1da2ef...3c4fcdd. Read the comment docs.

@@ -131,6 +121,9 @@
(.clear ~buffer)
ba#)))

(def ^:private gt-byte (byte \>))
(def ^:private newline-byte (byte \newline))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add ^:const to these vars for equivalence of the original code.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks to your review. I fixed it by 3c4fcdd .

@totakke totakke merged commit 14ffdae into chrovis:master Apr 19, 2017
@ayamada ayamada deleted the fix/refine-code-for-newline branch April 28, 2017 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants