GitHub user Abrasha opened a pull request:
https://github.com/apache/commons-text/pull/69
Fix typos, minor clean ups
- simplify `if` condition with direct return
- fix some typos
Also I found a typo in public signature in
`org.apache.commons.text.similarity.LongestCommonSubsequence#logestCommonSubsequence`:
public CharSequence logestCommonSubsequence(final CharSequence left,
final CharSequence right)
This one should be
public CharSequence longestCommonSubsequence(final CharSequence left,
final CharSequence right)
I did not touch it because it is public signature
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Abrasha/commons-text fix/code-clean-up
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/commons-text/pull/69.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #69
----
commit 3847951bfc40f98d3d385eb004c1d903552ad294
Author: abrasha <[email protected]>
Date: 2017-10-12T13:44:47Z
- fix some typos
- simplify `if` condition with direct return
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]