bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/36219] gnu.xml.transform.SortKey isn't subclass of gnu.xm


From: gnu_andrew at member dot fsf dot org
Subject: [Bug classpath/36219] gnu.xml.transform.SortKey isn't subclass of gnu.xml.transform.Key
Date: 23 Jun 2008 21:08:13 -0000


------- Comment #2 from gnu_andrew at member dot fsf dot org  2008-06-23 21:08 
-------
I don't believe SortKey should be a subclass of Key.  It seems more likely that
this is just a typo in the casting, as other methods in the same class do the
same iteration and cast to SortKey.

Genericising the class will replace the explicit casts with implicit ones based
on the List's parameter type, so this seems like the best solution.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36219





reply via email to

[Prev in Thread] Current Thread [Next in Thread]