You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by Jacek Laskowski <ja...@japila.pl> on 2011/05/28 18:52:30 UTC

Re: svn commit: r1128548 - /aries/trunk/proxy/proxy-impl/src/main/java/org/apache/aries/proxy/impl/weaving/OSGiFriendlyClassWriter.java

On Sat, May 28, 2011 at 4:24 AM,  <dj...@apache.org> wrote:

> +            else if(!!!names.add(arg00))

Hi Dave,

I'm curious why there're three !'s above? I've never seen it before
and I have a gut feeling that I need to master this magic :)

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl

Re: svn commit: r1128548 - /aries/trunk/proxy/proxy-impl/src/main/java/org/apache/aries/proxy/impl/weaving/OSGiFriendlyClassWriter.java

Posted by David Jencks <da...@yahoo.com>.
On May 28, 2011, at 9:52 AM, Jacek Laskowski wrote:

> On Sat, May 28, 2011 at 4:24 AM,  <dj...@apache.org> wrote:
> 
>> +            else if(!!!names.add(arg00))
> 
> Hi Dave,
> 
> I'm curious why there're three !'s above? I've never seen it before
> and I have a gut feeling that I need to master this magic :)
> 
> Jacek
> 
Hi Jarek,

I didn't put it there :-)

It means the same as one !.  I think someone told me once that they did it because it was easier to see when glancing over the code.  Personally I don't like it much but it seems endemic in aries.

david jencks