The MimeType equals can be compared with a String. This is unintuitive since it totally breaks the Object.equals contract. For instance, I just migrate from
commons-lang 2.5 to commons-lan 2.6.
I had this code:
Used to work in 2.5, doesn't in 2.6.
Really dangerous. Please remove the string comparison. Equals should be symetric.