| Summary: | org.eclipse.swt.graphics.TextStyle.hashCode() contains "hash ^= hash;" | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Radu Vlasov <vlasov.r> |
| Component: | SWT | Assignee: | Felipe Heidrich <eclipse.felipe> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | minor | ||
| Priority: | P3 | CC: | eclipse.felipe, remy.suen, Silenio_Quarti |
| Version: | 4.1 | ||
| Target Milestone: | 3.7 M3 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Radu Vlasov
That doesn't look good. Silenio, is something like this better: if (underline) hash ^= (hash << 1); if (strikeout) hash ^= (hash << 2); ? Fixed in HEAD > 20101013 Thank you Radu for point this out. |