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)
| 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. |
nothing calls this directly
no test coverage detected