1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-30 07:52:06 +01:00

Make sure that #getActor does not return null even if no actor was provided.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2495 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Gaston Dombiak 2005-05-30 15:14:25 +00:00 committed by gaston
parent cd3dd8eec7
commit 1d50de1107

View file

@ -393,7 +393,7 @@ public class MUCUser implements PacketExtension {
* @return the JID of an occupant in the room that was kicked or banned.
*/
public String getActor() {
return actor;
return actor == null ? "" : actor;
}
/**