removed c style array

This commit is contained in:
Daniel Gultsch 2019-12-26 17:36:16 +01:00
parent 9bcef7a8e7
commit a60e29d4f4
1 changed files with 1 additions and 1 deletions

View File

@ -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 {