Skip to content

Commit

Permalink
Fix parsing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghislain Fourny committed May 16, 2023
1 parent 1b41e02 commit 3bebc9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/rumbledb/items/Base64BinaryItem.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public Base64BinaryItem() {

public Base64BinaryItem(String stringValue) {
this.value = parseBase64BinaryString(stringValue);
this.stringValue = StringUtils.chomp(Base64.encodeBase64String(this.value));
this.stringValue = StringUtils.chomp(Base64.getEncoder().encodeToString(this.value));
}

@Override
Expand Down

0 comments on commit 3bebc9e

Please sign in to comment.