mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-25 15:52:06 +01:00
Bug fix for setName method.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1917 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
7a15fcb32f
commit
4929a81e72
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ public class RosterEntry {
|
||||||
*/
|
*/
|
||||||
public void setName(String name) {
|
public void setName(String name) {
|
||||||
// Do nothing if the name hasn't changed.
|
// Do nothing if the name hasn't changed.
|
||||||
if (this.name.equals(name)) {
|
if (name != null && this.name.equals(name)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.name = name;
|
this.name = name;
|
||||||
|
|
Loading…
Reference in a new issue