Project: SWT
Bug 326672 org.eclipse.swt.graphics.TextStyle.hashCode() contains "hash ^= hash;"
Reported: 2010-09-30 10:17:37 | Status: resolved fixed

Build Identifier: M20090917-0800 TextStyle.hashCode() contains, among other lines, the following: if (underline) hash ^= hash; if (strikeout) hash ^= hash; which would set hash = 0 This may have been done on purpose Reproducible: Always Steps to Reproduce: invoke TextStyle.hashCode() for a StyleRange that has field 'underline' set

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/TextStyle.java