Commit 5e766fd1 authored by Greg Messner's avatar Greg Messner
Browse files

Fixed issue with encodeAndSetContent() (#240).

parent f6edda9a
......@@ -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 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
*/
@JsonIgnore
public void encodeAndSetContent(byte[] byteContent) {
if (byteContent == null) {
byteContent = null;
this.content = null;
return;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment