Skip to content

Commit b06f750

Browse files
committed
fix from code review
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
1 parent 17836d5 commit b06f750

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

sample-operators/mysql-schema/src/main/java/io/javaoperatorsdk/operator/sample/dependent/SchemaDependentResource.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,7 @@ public void delete(MySQLSchema primary, Context<MySQLSchema> context) {
122122
}
123123

124124
public static String decode(String value) {
125-
return new String(
126-
Base64.getDecoder().decode(value.getBytes(StandardCharsets.UTF_8)), StandardCharsets.UTF_8);
125+
return new String(Base64.getDecoder().decode(value), StandardCharsets.UTF_8);
127126
}
128127

129128
@Override

0 commit comments

Comments
 (0)