Created
January 13, 2014 20:13
-
-
Save anonymous/8407187 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private boolean isPossibleDuplicate(final Message message) | |
{ | |
try | |
{ | |
return message.getHeader().isSetField(PossDupFlag.FIELD) && message.getHeader().getBoolean(PossDupFlag.FIELD); | |
} | |
catch (final FieldNotFound x) | |
{ | |
// should never happen, but we still need to return something | |
return false; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment