Home Fabio Cortesi Stefan Jäger

Welcome to the Joint-Venture Blog from Fabio Cortesi and Stefan Jäger.

 

 
 

 

Today I stumbled upon a nice solution, to use the Collections.EMPTY_LIST with Generics. Just use the method emptyList with Generics instead of the constant value.

For example:

Collections.<string> emtpyList();

 

 

 

 

 
  1. Well, I learned something today :-)

    Comment by Frank — 31.7.2008 @ 17:54

  2. And thank you!

    Comment by Hola — 13.11.2008 @ 22:51

Leave a comment