Get the type of this folder.
()
| 715 | * Get the type of this folder. |
| 716 | */ |
| 717 | @Override |
| 718 | public synchronized int getType() throws MessagingException { |
| 719 | if (opened) { |
| 720 | // never throw FolderNotFoundException if folder is open |
| 721 | if (attributes == null) |
| 722 | exists(); // try to fetch attributes |
| 723 | } else { |
| 724 | checkExists(); |
| 725 | } |
| 726 | return type; |
| 727 | } |
| 728 | |
| 729 | /** |
| 730 | * Check whether this folder is subscribed. |
nothing calls this directly
no test coverage detected