KCR29: builder: Rule: sortByName(): use explicit scoping

This commit is contained in:
Paul Campbell 2017-05-29 11:29:52 +01:00
parent 5876d723e3
commit 9d2895269d

View file

@ -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());
} }