Skip to content

Commit

Permalink
update variables to static
Browse files Browse the repository at this point in the history
Signed-off-by: Kat Shen <[email protected]>
  • Loading branch information
shenkw1 committed Jul 12, 2023
1 parent e01db27 commit f263edc
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ public class KeyValueProcessor extends AbstractProcessor<Record<Event>, Record<E
private final Pattern fieldDelimiterPattern;
private final Pattern keyValueDelimiterPattern;
private final Set<String> includeKeysSet = new HashSet<String>();
private final String LOWERCASE_KEY = "lowercase";
private final String UPPERCASE_KEY = "uppercase";
private final String CAPITALIZE_KEY = "capitalize";
private static final String LOWERCASE_KEY = "lowercase";
private static final String UPPERCASE_KEY = "uppercase";
private static final String CAPITALIZE_KEY = "capitalize";
private final Set<String> validTransformOptionSet = Set.of("", LOWERCASE_KEY, UPPERCASE_KEY, CAPITALIZE_KEY);
private final String WHITESPACE_STRICT = "strict";
private final String WHITESPACE_LENIENT = "lenient";
private static final String WHITESPACE_STRICT = "strict";
private static final String WHITESPACE_LENIENT = "lenient";
private final Set<String> validWhitespaceSet = Set.of(WHITESPACE_LENIENT, WHITESPACE_STRICT);

@DataPrepperPluginConstructor
Expand Down

0 comments on commit f263edc

Please sign in to comment.