Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
sungshik committed Nov 4, 2024
1 parent 9ce5e9e commit 08cfe20
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -414,15 +414,15 @@ private enum Mode {
INNER_OVER_OUTER_LEGACY; // Syntax-in-syntax special case

public static Mode toMode(String s) {
switch (s) {
case "outerOverInner":
return Mode.OUTER_OVER_INNER;
case "innerOverOuterStrict":
return Mode.INNER_OVER_OUTER_STRICT;
case "innerOverOuterLegacy":
return Mode.INNER_OVER_OUTER_LEGACY;
default:
throw new IllegalArgumentException("Unexpected token collector mode: " + s);
switch (s) {
case "outerOverInner":
return Mode.OUTER_OVER_INNER;
case "innerOverOuterStrict":
return Mode.INNER_OVER_OUTER_STRICT;
case "innerOverOuterLegacy":
return Mode.INNER_OVER_OUTER_LEGACY;
default:
throw new IllegalArgumentException("Unexpected token collector mode: " + s);
}
}
}
Expand Down

0 comments on commit 08cfe20

Please sign in to comment.