Skip to content
This repository was archived by the owner on May 30, 2022. It is now read-only.

Commit 4e809dc

Browse files
committed
Fixed checkstyle warning (VariableDeclarationUsageDistance)
1 parent db42b5e commit 4e809dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/github/brevilo/jolm/Session.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ public boolean matchesInboundSessionFrom(String theirIdentityKey, String oneTime
156156
*/
157157
public Message encrypt(String plainText) throws OlmException {
158158
// determine message type
159-
NativeSize messageType = OlmLibrary.olm_encrypt_message_type(instance);
159+
final NativeSize messageType = OlmLibrary.olm_encrypt_message_type(instance);
160160

161161
// get native plain text
162162
Memory plainTextBuffer = Utils.toNative(plainText);

0 commit comments

Comments
 (0)