diff options
author | Christian Schneppe <christian.schneppe@pix-art.de> | 2020-01-02 09:05:49 +0100 |
---|---|---|
committer | Christian Schneppe <christian.schneppe@pix-art.de> | 2020-01-02 09:05:49 +0100 |
commit | a5f52ef599ae5519bd704fae8ceb1dd78c7edcc6 (patch) | |
tree | 69d526e7a58c2e3f6cb586d1fa916a9b9af07e28 /src/main/java/de/pixart/messenger/entities | |
parent | 1657e678ac20fdb472e7051543e04d9080665941 (diff) |
make parts in Message.java final
Diffstat (limited to 'src/main/java/de/pixart/messenger/entities')
-rw-r--r-- | src/main/java/de/pixart/messenger/entities/Message.java | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |