MagicMimeEntryOperation.CLEAR doesn't work
Brought to you by:
smcardle
Currently (2.1.3), this operation is implemented as (for example):
long maskedFound = found & contentNumber;
boolean result = (maskedFound ^ contentNumber) == 0;
But this yields exactly the same results as MagicMimeEntryOperation.AND. The corrent way would be:
long maskedFound = found & contentNumber;
boolean result = (maskedFound ^ contentNumber) == contentNumber;