src/main/java/org/jivesoftware/smack/RosterEntry.java
void updateState(String name, Subscription type, Ask status) {
        this.name = name;
        this.subscription = type;
        this.ask = status;
    }
void updateState(String name, Subscription type, Ask status) {
        this.name = name;
        this.subscription = type;
        this.ask = status;
    }
Updates the state of the entry with the new values.

@param name
the nickname for the entry.
@param type
the subscription type.
@param status
the subscription status (related to subscriptions pending to
be approbed).