changed initialization of double with Integer.MaxValue to Double.posInfinity, moved duplicated code to method and deleted commented code fragments
Authored by: grether 2010-03-31
Parent: [r10962]
Child: [r10964]