Fixing Javadoc for hasFlag().