[Biojava-dev] JDK 1.5
    mark.schreiber at novartis.com 
    mark.schreiber at novartis.com
       
    Mon Oct  3 21:06:16 EDT 2005
    
    
  
Hello -
Biojava is still officially using JDK 1.4.2 I know many people have 
changed to JDK1.5
While no-one is using generics etc in the code base there have been a 
number of method calls that have slipped in that rely on JDK 1.5. The most 
common one is 
Integer.valueOf(int i)
This is only introduced in 1.5 please use the alternative
new Integer(i)
It even has less typing : )
- Mark
Mark Schreiber
Principal Scientist (Bioinformatics)
Novartis Institute for Tropical Diseases (NITD)
10 Biopolis Road
#05-01 Chromos
Singapore 138670
www.nitd.novartis.com
phone +65 6722 2973
fax  +65 6722 2910
    
    
More information about the biojava-dev
mailing list