aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/entities
diff options
context:
space:
mode:
authorChristian Schneppe <christian.schneppe@pix-art.de>2020-01-02 09:05:49 +0100
committerChristian Schneppe <christian.schneppe@pix-art.de>2020-01-02 09:05:49 +0100
commita5f52ef599ae5519bd704fae8ceb1dd78c7edcc6 (patch)
tree69d526e7a58c2e3f6cb586d1fa916a9b9af07e28 /src/main/java/de/pixart/messenger/entities
parent1657e678ac20fdb472e7051543e04d9080665941 (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.java2
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 {