Generics?

General Discussion goes here.

Moderator: robert

Generics?

Postby waisbrot » Tue Feb 12, 2013 6:57 pm

I think it would be spiffy if the code was updated to use generics. For example, CompletionProviders could return List<Completion> instead of List.

Any chance of this? I'd be happy to make the code changes myself and send you a diff if that would help.
waisbrot
 
Posts: 1
Joined: Tue Feb 12, 2013 6:53 pm

Re: Generics?

Postby robert » Wed Feb 13, 2013 5:07 am

For now, the source is staying 1.4-compliant. Being a library, I try to keep its requirements as low as possible, which for RSTA is 1.4 (we use Java's regex support, otherwise we probably could go lower). I do understand that Java 1.4 is absolutely ancient, and I'll eventually move the minimum JRE to 1.5, and update the code to use generics, annotations, etc., but it won't be any time soon.
User avatar
robert
 
Posts: 786
Joined: Sat May 10, 2008 5:16 pm


Return to General

Who is online

Users browsing this forum: No registered users and 7 guests

cron