We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbc2f39 commit 9cf6ee7Copy full SHA for 9cf6ee7
src/main/java/org/kohsuke/github/GHBlobBuilder.java
@@ -30,7 +30,6 @@ public GHBlobBuilder textContent(String content) {
30
* Configures a blob with the specified binary {@code content}.
31
*/
32
public GHBlobBuilder binaryContent(byte[] content) {
33
- new String(content);
34
String base64Content = Base64.encodeBase64String(content);
35
req.with("content", base64Content);
36
req.with("encoding", "base64");
0 commit comments