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 <[email protected]>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 <
> [email protected]> wrote:
>
>> On Sat, Jul 24, 2010 at 8:17 PM, Nicolas Vervelle <[email protected]>
>> 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
>> [email protected]
>> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers