Skip to content

Commit 2bc70d7

Browse files
committed
Ignore case, otherwise none of the cases in the 'execute' method of RowHash.java would match if a codec like 'MD5' is passed in.
Also adding a widgets and icons dir, as required to build the project.
1 parent 264475d commit 2bc70d7

File tree

3 files changed

+1
-1
lines changed

3 files changed

+1
-1
lines changed

icons/.gitignore

Whitespace-only changes.

src/main/java/org/example/directives/RowHash.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public UsageDefinition define() {
5656
@Override
5757
public void initialize(Arguments args) throws DirectiveParseException {
5858
this.column = ((ColumnName) args.value("column")).value();
59-
this.codec = ((Identifier) args.value("codec")).value();
59+
this.codec = ((Identifier) args.value("codec")).value().toLowerCase();
6060
if(!codec.equalsIgnoreCase("md5") && !codec.equalsIgnoreCase("sha1") &&
6161
!codec.equalsIgnoreCase("sha256") && !codec.equalsIgnoreCase("sha384") &&
6262
!codec.equalsIgnoreCase("sha512")) {

widgets/.gitignore

Whitespace-only changes.

0 commit comments

Comments
 (0)