Skip to content

Commit

Permalink
CheckStyle: Suppress FallThrough violation
Browse files Browse the repository at this point in the history
Fallthrough is efficiently used here, so suppress the violation.
  • Loading branch information
Pieter12345 committed Jun 8, 2018
1 parent 7fd0a51 commit 8f3c5f3
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -389,6 +389,7 @@ public ItemStack[] getArmorContents() {
}

@Override
@SuppressWarnings("checkstyle:fallthrough")
public void setArmorContents(ItemStack[] itemStacks) {
switch(itemStacks.length) {
case 4:
Expand Down

0 comments on commit 8f3c5f3

Please sign in to comment.