My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 48: Better use of Generics
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  extremec...@gmail.com
Closed:  Nov 2007


 
Reported by extremec...@gmail.com, Nov 4, 2007
Problem with the use of Generics with the constructor of Class
TableFacadeImpl, with parameter of type Collections<Object>.
Collection<Object>  is not a supertype of all kinds of collections!. So I
replace Object with a wildcard that is the supertype of all kinds of
collections . It's written Collection<?>
(pronounced "collection of unknown") , that is, a collection whose element
type matches anything. 
patch.txt
4.0 KB   View   Download
Nov 4, 2007
#1 extremec...@gmail.com
I applied your patch to the headstream but I really need to go through everything and
nuke all the Collection<Object> references. I started to replace all the occurrences,
but then get compile errors I have not learned to deal with yet....
Status: Started
Nov 4, 2007
#2 extremec...@gmail.com
(No comment was entered for this change.)
Labels: -Priority-Medium Priority-High
Nov 6, 2007
#3 extremec...@gmail.com
Generics are correctly being used throughout the library now.
Status: Fixed

Powered by Google Project Hosting