Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9cf6ee7

Browse filesBrowse files
committed
Pointless string conversion
1 parent bbc2f39 commit 9cf6ee7
Copy full SHA for 9cf6ee7

File tree

Expand file treeCollapse file tree

1 file changed

+0
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-1
lines changed

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

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GHBlobBuilder.java
-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.