From a60e29d4f488664049460452b54674e7a45eea86 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Thu, 26 Dec 2019 17:36:16 +0100 Subject: [PATCH] removed c style array --- src/main/java/eu/siacs/conversations/entities/Message.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/entities/Message.java b/src/main/java/eu/siacs/conversations/entities/Message.java index cc73222c5..1d34ec4ec 100644 --- a/src/main/java/eu/siacs/conversations/entities/Message.java +++ b/src/main/java/eu/siacs/conversations/entities/Message.java @@ -802,7 +802,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 {