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

some CR nits #2

Merged
merged 1 commit into from
Jul 30, 2015
Merged

some CR nits #2

merged 1 commit into from
Jul 30, 2015

Conversation

ryan-williams
Copy link
Member

No description provided.

@@ -89,7 +92,7 @@ object MdTag {
}

if (matchingBases.toInt == usedMatchingBases) {
mdTagStringOffset += matchingBases.size
mdTagStringOffset += matchingBases.length
Copy link

Choose a reason for hiding this comment

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

OOC, is there a difference here?

Copy link
Member Author

Choose a reason for hiding this comment

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

IntelliJ suggested it, said it is recommended for arrays and strings. Seems like the impl for string just immediately delegates to .length, so maybe it's just about saving one call of indirection

arahuja added a commit that referenced this pull request Jul 30, 2015
@arahuja arahuja merged commit 81b1c20 into hammerlab:mdtag-more-fix Jul 30, 2015
@ryan-williams ryan-williams deleted the 748 branch July 30, 2015 18:00
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.

2 participants