Skip to content

Commit

Permalink
refactor: make InboxEntryStream.FileInfo fields as final (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
djenczewski committed Dec 13, 2024
1 parent 24fadfe commit 6ca41ae
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -377,17 +377,17 @@ public static class FileInfo {
/**
* Byte array of any arbitrary metadata that can be read by anyone.
*/
public byte[] publicMeta;
public final byte[] publicMeta;

/**
* Byte array of any arbitrary metadata that will be encrypted before sending.
*/
public byte[] privateMeta;
public final byte[] privateMeta;

/**
* The total size of the file data.
*/
public long fileSize;
public final long fileSize;

/**
* An optional {@link InputStream} providing the file data.
Expand Down

0 comments on commit 6ca41ae

Please sign in to comment.