Skip to content

Commit 4f1585d

Browse files
committed
Fix Sonar security issue
1 parent cae882e commit 4f1585d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/io/github/sashirestela/openai/support/Base64Util.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ public static String encode(String filePath, MediaType mediaType) {
3030
}
3131
}
3232

33+
@SuppressWarnings("java:S6300")
3334
public static void decode(String base64String, String filePath) {
3435
try {
3536
byte[] bytes = Base64.getDecoder().decode(base64String);

0 commit comments

Comments
 (0)