removed c style array

This commit is contained in:
Daniel Gultsch 2019-12-26 17:36:16 +01:00
parent 9bcef7a8e7
commit a60e29d4f4

View file

@ -802,7 +802,7 @@ public class Message extends AbstractEntity implements AvatarService.Avatarable
if (this.transferable != null) { if (this.transferable != null) {
fileParams.size = this.transferable.getFileSize(); 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) { switch (parts.length) {
case 1: case 1:
try { try {