Great! Sounds like I should take a vacation for a while!
Let me know if you are going to upload changes that will break the build
temporarily, Nico. I'll plan on NOT doing coding at the BCCE this next week,
I think, or perhaps the 6-hour time difference will keep us on different
schedules. Anyway, this week end it's all yours!
Bob
On Sat, Jul 31, 2010 at 4:45 AM, Nicolas Vervelle <nverve...@gmail.com>wrote:
> Hi,
>
> I have started working on going to Java 1.5 and its advantages.
> I have committed many changes to take into account the following points :
>
> - Eclipse 3.6
> - Java 1.5 compiler
> - Annotations @Deprecated and @Override
>
> Still a lot of work to do and help is welcome if someone is interested :
>
> - About 3000 warnings to fix with the Java 1.5 compiler
> - Using Generics
> - Replacing StringBuffer with StringBuilder where multi-threading or
> concurrent access is not an issue
> - Replacing Vector with ArrayList (being careful when synchronization
> is required)
> - Adding Javadoc comments
> - ...
>
> Nico
>
>
> On Tue, Jul 27, 2010 at 10:39 AM, Nicolas Vervelle <nverve...@gmail.com>wrote:
>
>> Yes,
>>
>> That's part of the optimizations that could be made.
>>
>> For going to real Java 1.5 code, I suggest waiting until the 12.0 branch
>> is created, and I will start doing some modifications on the trunk (12.1.x)
>> I think, I will do in this order :
>>
>> - Adding @Deprecated and @Override annotations (boring, but easy)
>> - Starting to use Generics (that won't be simple and it will take
>> time)
>> - And optimizations when I see some (for example, I have cleaned up
>> the Profiling class that was using reflections to be able to call methods
>> existing only with 1.5)
>>
>> Nico
>>
>> On Sat, Jul 24, 2010 at 8:29 PM, Egon Willighagen <
>> egon.willigha...@gmail.com> wrote:
>>
>>> On Sat, Jul 24, 2010 at 8:17 PM, Nicolas Vervelle <nverve...@gmail.com>
>>> wrote:
>>> > In fact, that would already be the case with Java 1.5.
>>> > Generics are in Java 1.5 (Vector<String> and so on...)
>>>
>>> More importantly...
>>>
>>> Replace Vector with ArrayList as much as possible, unless you access
>>> the List by more than on thread... that will give a moderate but
>>> noticable speed up...
>>>
>>> Egon
>>>
>>> --
>>> Post-doc @ Uppsala University
>>> Proteochemometrics / Bioclipse Group of Prof. Jarl Wikberg
>>> Homepage: http://egonw.github.com/
>>> Blog: http://chem-bla-ics.blogspot.com/
>>> PubList: http://www.citeulike.org/user/egonw/tag/papers
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> This SF.net email is sponsored by Sprint
>>> What will you do first with EVO, the first 4G phone?
>>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>>> _______________________________________________
>>> Jmol-developers mailing list
>>> Jmol-developers@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/jmol-developers
>>>
>>
>>
>
>
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://p.sf.net/sfu/dev2dev-palm
> _______________________________________________
> Jmol-developers mailing list
> Jmol-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-developers
>
>
--
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers