()
| 542 | } |
| 543 | |
| 544 | @Override |
| 545 | protected void finalize() throws Throwable { |
| 546 | try { |
| 547 | if (port != null) // don't force a connection attempt |
| 548 | close(!finalizeCleanClose); |
| 549 | } finally { |
| 550 | super.finalize(); |
| 551 | } |
| 552 | } |
| 553 | |
| 554 | private void checkConnected() throws MessagingException { |
| 555 | if (!super.isConnected()) |