We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6edda9 commit 5e766fdCopy full SHA for 5e766fd
src/main/java/org/gitlab4j/api/models/RepositoryFile.java
@@ -150,13 +150,13 @@ public void encodeAndSetContent(String content) {
150
* Encodes the provided byte array using Base64 and sets it as the content. The encoding
151
* property of this instance will be set to base64.
152
*
153
- * @param content the byte[] content to encode and set as the base64 encoded String content
+ * @param byteContent the byte[] content to encode and set as the base64 encoded String content
154
*/
155
@JsonIgnore
156
public void encodeAndSetContent(byte[] byteContent) {
157
158
if (byteContent == null) {
159
- byteContent = null;
+ this.content = null;
160
return;
161
}
162
0 commit comments