Ignore message if string is empty

This commit is contained in:
Gabriele C 2016-04-14 18:09:38 +02:00
parent ca0cbe6caf
commit b825f52a16

View File

@ -76,6 +76,9 @@ public class Messages {
+ "Please verify your config file at '" + fileName + "'");
return formatMessage(getDefault(code));
}
if(message.isEmpty()) {
return new String[0];
}
return formatMessage(message);
}