MCPcopy Create free account
hub / github.com/M66B/FairEmail / folderName

Method folderName

app/src/main/java/com/sun/mail/imap/IdleManager.java:483–490  ·  view source on GitHub ↗

Return the fully qualified name of the folder, for use in log messages. Essentially just the getURLName method, but ignoring the MessagingException that can never happen.

(Folder folder)

Source from the content-addressed store, hash-verified

481 * MessagingException that can never happen.
482 */
483 private static String folderName(Folder folder) {
484 try {
485 return folder.getURLName().toString();
486 } catch (MessagingException mex) {
487 // can't happen
488 return folder.getStore().toString() + "/" + folder.toString();
489 }
490 }
491}

Callers 4

watchMethod · 0.95
watchAllMethod · 0.95
processKeysMethod · 0.95
unwatchAllMethod · 0.95

Calls 3

toStringMethod · 0.45
getURLNameMethod · 0.45
getStoreMethod · 0.45

Tested by

no test coverage detected