Skip to content

Commit 9cf6ee7

Browse files
committed
Pointless string conversion
1 parent bbc2f39 commit 9cf6ee7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/main/java/org/kohsuke/github/GHBlobBuilder.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ public GHBlobBuilder textContent(String content) {
3030
* Configures a blob with the specified binary {@code content}.
3131
*/
3232
public GHBlobBuilder binaryContent(byte[] content) {
33-
new String(content);
3433
String base64Content = Base64.encodeBase64String(content);
3534
req.with("content", base64Content);
3635
req.with("encoding", "base64");

0 commit comments

Comments
 (0)