Skip to content

Commit

Permalink
Rearrange the order
Browse files Browse the repository at this point in the history
  • Loading branch information
trung-huynh committed Jan 11, 2022
1 parent c848e15 commit 3bc94e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/embulk/output/td/TdOutputPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -365,10 +365,10 @@ public static ConvertBooleanType of(String value)
{
final String loweredCaseValue = value.toLowerCase();
switch (loweredCaseValue) {
case "string": return STRING;
case "long": return LONG;
case "string": return STRING;
default:
throw new ConfigException(String.format("Unknown convert_boolean_type '%s'. Supported types are [string, long]", loweredCaseValue));
throw new ConfigException(String.format("Unknown convert_boolean_type '%s'. Supported types are [long, string]", loweredCaseValue));
}
}
}
Expand Down

0 comments on commit 3bc94e0

Please sign in to comment.