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

Method setFlags

app/src/main/java/com/sun/mail/pop3/POP3Message.java:67–75  ·  view source on GitHub ↗

Set the specified flags on this message to the specified value. @param newFlags the flags to be set @param set the value to be set

(Flags newFlags, boolean set)

Source from the content-addressed store, hash-verified

65 * @param set the value to be set
66 */
67 @Override
68 public synchronized void setFlags(Flags newFlags, boolean set)
69 throws MessagingException {
70 Flags oldFlags = (Flags)flags.clone();
71 super.setFlags(newFlags, set);
72 if (!flags.equals(oldFlags))
73 folder.notifyMessageChangedListeners(
74 MessageChangedEvent.FLAGS_CHANGED, this);
75 }
76
77 /**
78 * Return the size of the content of this message in bytes.

Callers

nothing calls this directly

Calls 3

cloneMethod · 0.45
equalsMethod · 0.45

Tested by

no test coverage detected