Rename Whitespace enum to make the intent more clear

Change-Id: I591abfe195a9cb2baf3ac516c7874d28ef70f20e
This commit is contained in:
David Ostrovsky
2015-10-24 13:03:34 +02:00
committed by David Ostrovsky
parent dc53a1665b
commit 09caa54a0e
9 changed files with 40 additions and 40 deletions

View File

@@ -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: