JPEGSyntaxImpl.java:
Extracted methods isValidJfif() and isValidExif() for readability.

Code review: Matthew Swift

git-svn-id: https://svn.forgerock.org/opendj/trunk/opendj@11231 41b1ffd8-f28e-4786-ab96-9950f0a78031
Code cleanup

PasswordPolicyStateExtendedRequest.java:
Extraxcted methods setBooleanProperty(), setDateProperty(), setDateProperties(), toByteString() to simplify the code.

git-svn-id: https://svn.forgerock.org/opendj/trunk/opendj@11232 41b1ffd8-f28e-4786-ab96-9950f0a78031
AutoRefactored:
- work with null checked expressions first
- revert conditions
- collapse if statements
- push negations down
- invert equals()

Manually used ternary operators

git-svn-id: https://svn.forgerock.org/opendj/trunk/opendj@11233 41b1ffd8-f28e-4786-ab96-9950f0a78031
JPEGSyntaxImpl.java:
In isValidJfif() and isValidExif(), fixed a bug: original code was buggy.
In isValidJfif(), fixed the javadoc that I badly copied in r11231 :(

git-svn-id: https://svn.forgerock.org/opendj/trunk/opendj@11234 41b1ffd8-f28e-4786-ab96-9950f0a78031
Last batch of fixes from AutoRefactor (or me) for a while.
AutoRefactor successfully goes through the whole SDK now.

git-svn-id: https://svn.forgerock.org/opendj/trunk/opendj@11235 41b1ffd8-f28e-4786-ab96-9950f0a78031