Replace switch statement with if-else block

Eclipse warns about missing case statements for the Change.Status enum,
but since we only need to check NEW it makes more sense to replace the
switch with an if-else than to add empty cases for the other values.

Change-Id: Ia76057da37adca1309c5180082b968bac7d92605
1 file changed
tree: 4028379aa488edf3dd20c1cd7a96e5f15aecf60c
  1. .buckconfig
  2. .gitignore
  3. BUCK
  4. lib/
  5. src/