You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Felix Knecht <fe...@otego.com> on 2010/06/04 09:42:04 UTC

Useless if else or missing something?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The if {} does the same like the else {} -> no matter if it's
'overlapping' or not. If it's not a bug (doing the same) we can skip the
if else.

http://people.apache.org/~felixk/shared-docs/xref/org/apache/directory/shared/ldap/ldif/LdifRevertor.html#502

Felix
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwIrkwACgkQ2lZVCB08qHGfWwCg6TbJxtAyDFRVCF0jvCUVpJvn
3mEAoIPaiasluVLqAxDTFaPP5cCLDDGE
=rAdJ
-----END PGP SIGNATURE-----

Re: Useless if else or missing something?

Posted by Emmanuel Lecharny <el...@gmail.com>.
On 6/4/10 9:42 AM, Felix Knecht wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> The if {} does the same like the else {} ->  no matter if it's
> 'overlapping' or not. If it's not a bug (doing the same) we can skip the
> if else.
>    
This is very strange...

I have to review this part of the code to see why I have added this 
if... else... part.

Give me a couple of hour so that I move to office and get the cafeine 
spreaded into my brain...

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