Miguel is it possible to make small cosmetic change in the source of the org.jmol.viewer.Frame class:
I use CodeWarrior compiler and it complains
Error : Variable timeBegin may not have been initialized.
Frame.java line 1033 System.out.println("time to build bspf=" + (timeEnd - timeBegin) +
Error : Variable timeBegin may not have been initialized.
Frame.java line 1154 System.out.println("Time to autoBond=" + (timeEnd - timeBegin));
Error : Variable timeBegin may not have been initialized.
Frame.java line 1248 System.out.println("Time to hbond=" + (timeEnd - timeBegin));
all you have to do just
change line 1006, 1126 and 1216
from
long timeBegin, timeEnd;
to
long timeBegin = 0, timeEnd;or whatever change you think would be appropriate.
javac doesn't complain
but I think CodeWarrior is right (yes I know java initialize everything to 0 and it's probably CW's bug
I would treat it as a warning not as an error)
but still
thank you very much in advance
Dmitry Markman
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Jmol-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-developers
