Пример #1
0
 /** {@inheritDoc} */
 @Override
 public String toString() {
   return invite.getChannel() + "(" + Arrays.toString(invite.getSource()) + ")";
 }
Пример #2
0
  /**
   * Instantiates a new invite action.
   *
   * @param invite Invite for the action
   */
  public InviteAction(final Invite invite) {
    super(invite.getChannel() + " (" + invite.getSource()[0] + ")");

    this.invite = invite;
  }