• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Warning in adding to a Collection

 
P Ventura
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ranchers,
in what situation, adding to a Collection generates a warning, but compile fine?
I don't remember it and I can't found where I readed it?

Please help me I'm trying to fix errors ragarding generics concepts.
 
Keith Lynn
Ranch Hand
Posts: 2409
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you try to add to a raw Collection, you will usually get a warning.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic