https://bz.apache.org/bugzilla/show_bug.cgi?id=60845

--- Comment #29 from Mark Murphy <[email protected]> ---
Comment on attachment 34871
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34871
src, version 6: improved equals method

What is the purpose of this adjustment, It appears multiple times in your
changes.

-        if(!(o instanceof XSSFFont)) return false;
+        
+        if (this == o) 
+            return true;
+        if (o == null) 
+            return false; 
+        if (o.getClass() != getClass()) 
+            return false;

How does the new code provide a different outcome? Aren't you just replacing a
java construct with a bit of reflection?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to