Merge pull request #41 from kemitix/kcr-29-builder-rule-explicit-scope
KCR29: builder: Rule: sortByName(): use explicit scoping
This commit is contained in:
commit
2f2ea3afeb
2 changed files with 6 additions and 2 deletions
|
@ -95,7 +95,7 @@ public class Rule {
|
||||||
* the right string; and a value greater than 0 if the left string is lexicographically greater than the right
|
* the right string; and a value greater than 0 if the left string is lexicographically greater than the right
|
||||||
* string.
|
* string.
|
||||||
*/
|
*/
|
||||||
static int sortByName(final Rule left, final Rule right) {
|
protected static int sortByName(final Rule left, final Rule right) {
|
||||||
return left.getLowerCaseRuleName()
|
return left.getLowerCaseRuleName()
|
||||||
.compareTo(right.getLowerCaseRuleName());
|
.compareTo(right.getLowerCaseRuleName());
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
./mvnw --projects builder,plugin test jacoco:report coveralls:report
|
## Only send coveralls reports from Travis-CI. Some CIs, like Shippable, lie by setting TRAVIS=true.
|
||||||
|
## Currently, Shippable, does not set TRAVIS_LANGUAGE, but Travis-CI does.
|
||||||
|
if [ "$TRAVIS_LANGUAGE" = "java" ];then
|
||||||
|
./mvnw --projects builder,plugin test jacoco:report coveralls:report
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue