Merge pull request #12689 from mariuslarsen/vavr-bug-fix
bug fix to avoid fallthrough
This commit is contained in:
commit
a0aa008362
|
@ -323,13 +323,13 @@ public class VavrUnitTest {
|
||||||
if (input == 0) {
|
if (input == 0) {
|
||||||
output = "zero";
|
output = "zero";
|
||||||
}
|
}
|
||||||
if (input == 1) {
|
else if (input == 1) {
|
||||||
output = "one";
|
output = "one";
|
||||||
}
|
}
|
||||||
if (input == 2) {
|
else if (input == 2) {
|
||||||
output = "two";
|
output = "two";
|
||||||
}
|
}
|
||||||
if (input == 3) {
|
else if (input == 3) {
|
||||||
output = "three";
|
output = "three";
|
||||||
} else {
|
} else {
|
||||||
output = "unknown";
|
output = "unknown";
|
||||||
|
|
Loading…
Reference in New Issue