From a5f52ef599ae5519bd704fae8ceb1dd78c7edcc6 Mon Sep 17 00:00:00 2001 From: Christian Schneppe Date: Thu, 2 Jan 2020 09:05:49 +0100 Subject: make parts in Message.java final --- src/main/java/de/pixart/messenger/entities/Message.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main/java/de/pixart/messenger/entities/Message.java b/src/main/java/de/pixart/messenger/entities/Message.java index a90636e7f..94da0f6aa 100644 --- a/src/main/java/de/pixart/messenger/entities/Message.java +++ b/src/main/java/de/pixart/messenger/entities/Message.java @@ -843,7 +843,7 @@ public class Message extends AbstractEntity implements AvatarService.Avatarable if (this.transferable != null) { fileParams.size = this.transferable.getFileSize(); } - String[] parts = body == null ? new String[0] : body.split("\\|"); + final String[] parts = body == null ? new String[0] : body.split("\\|"); switch (parts.length) { case 1: try { -- cgit v1.2.3