mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lécharny <elecha...@gmail.com>
Subject Re: [1/2] git commit: support for pushing runnable in the SelectorLoop
Date Mon, 28 Oct 2013 16:13:56 GMT
Question : are we requiring Java 7 for MINA 3 ?

Wondering because this code will not build on Java 6 :

Le 10/28/13 4:55 PM, jvermillard@apache.org a écrit :
> Updated Branches:
>   refs/heads/trunk e2e0ac8ff -> 2ff729a63
> @@ -52,7 +52,13 @@ public class NioSelectorLoop implements SelectorLoop {
>      private final ByteBuffer readBuffer = ByteBuffer.allocateDirect(64 * 1024);
>  
>      /** The queue containing the channels to register on the selector */
> -    private final Queue<Registration> registrationQueue = new ConcurrentLinkedQueue<Registration>();
> +    private final Queue<Registration> registrationQueue = new ConcurrentLinkedQueue<>();
>

-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com 


Mime
View raw message