bug fix to avoid fallthrough

This commit is contained in:
Marius Larsen 2022-09-03 11:13:10 +02:00
parent e33334d246
commit 8b69d734d7
1 changed files with 3 additions and 3 deletions

View File

@ -323,13 +323,13 @@ public class VavrUnitTest {
if (input == 0) {
output = "zero";
}
if (input == 1) {
else if (input == 1) {
output = "one";
}
if (input == 2) {
else if (input == 2) {
output = "two";
}
if (input == 3) {
else if (input == 3) {
output = "three";
} else {
output = "unknown";