From 6ca41aecba1a74f8c554e226be21fff11ce3765c Mon Sep 17 00:00:00 2001 From: Dawid Jenczewski Date: Fri, 13 Dec 2024 16:48:11 +0100 Subject: [PATCH] refactor: make InboxEntryStream.FileInfo fields as final (#10) --- .../inboxEntryStream/InboxEntryStream.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/privmx-endpoint-extra/src/main/java/com/simplito/java/privmx_endpoint_extra/inboxEntryStream/InboxEntryStream.java b/privmx-endpoint-extra/src/main/java/com/simplito/java/privmx_endpoint_extra/inboxEntryStream/InboxEntryStream.java index 2d3d179..152682a 100644 --- a/privmx-endpoint-extra/src/main/java/com/simplito/java/privmx_endpoint_extra/inboxEntryStream/InboxEntryStream.java +++ b/privmx-endpoint-extra/src/main/java/com/simplito/java/privmx_endpoint_extra/inboxEntryStream/InboxEntryStream.java @@ -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.