Removed checks of &quot; and &apos; from 2d6aa04d24e45504b4062db8366e6bc8a81b4f05 since these are treated differently between Java 7 and 8