Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
佳 邓
Gitlab4j Api
Commits
5e766fd1
Commit
5e766fd1
authored
Aug 21, 2018
by
Greg Messner
Browse files
Fixed issue with encodeAndSetContent() (#240).
parent
f6edda9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/models/RepositoryFile.java
View file @
5e766fd1
...
...
@@ -150,13 +150,13 @@ public class RepositoryFile {
* Encodes the provided byte array using Base64 and sets it as the content. The encoding
* property of this instance will be set to base64.
*
* @param
c
ontent the byte[] content to encode and set as the base64 encoded String content
* @param
byteC
ontent the byte[] content to encode and set as the base64 encoded String content
*/
@JsonIgnore
public
void
encodeAndSetContent
(
byte
[]
byteContent
)
{
if
(
byteContent
==
null
)
{
byteC
ontent
=
null
;
this
.
c
ontent
=
null
;
return
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment