Ejemplo n.º 1
0
 /** {@inheritDoc} */
 public String toString() {
   switch (state) {
     case UNOWNED:
       return "MailboxAddress (UNOWNED) of " + mailbox.toString();
     case OPEN:
       return "MailboxAddress of " + mailbox.toString();
     case CLOSED:
       return "MailboxAddress (CLOSED)";
     default:
       throw Assert.shouldNotReachHere();
   }
 }