Rename Whitespace enum to make the intent more clear
Change-Id: I591abfe195a9cb2baf3ac516c7874d28ef70f20e
This commit is contained in:

committed by
David Ostrovsky

parent
dc53a1665b
commit
09caa54a0e
@@ -129,13 +129,13 @@ public class PatchListLoader implements Callable<PatchList> {
|
||||
|
||||
private static RawTextComparator comparatorFor(Whitespace ws) {
|
||||
switch (ws) {
|
||||
case IGNORE_ALL_SPACE:
|
||||
case IGNORE_ALL:
|
||||
return RawTextComparator.WS_IGNORE_ALL;
|
||||
|
||||
case IGNORE_SPACE_AT_EOL:
|
||||
case IGNORE_TRAILING:
|
||||
return RawTextComparator.WS_IGNORE_TRAILING;
|
||||
|
||||
case IGNORE_SPACE_CHANGE:
|
||||
case IGNORE_LEADING_AND_TRAILING:
|
||||
return RawTextComparator.WS_IGNORE_CHANGE;
|
||||
|
||||
case IGNORE_NONE:
|
||||
|
Reference in New Issue
Block a user