1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-27 00:32:07 +01:00

Fixed to ensure that reason is not null. If no reason was provided then return an empty string. SMACK-165

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2432 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Gaston Dombiak 2004-12-21 20:53:35 +00:00 committed by gaston
parent aaeb476f05
commit e50259f0ee

View file

@ -403,7 +403,7 @@ public class MUCUser implements PacketExtension {
* @return the reason for the item child.
*/
public String getReason() {
return reason;
return reason == null ? "" : reason;
}
/**