-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 In the switch block the 'default' is missing. For unknown types will will run into a NPE on the following line [1]. What shall be done on default case? - - Return null - - Throw an Exception (to be defined) - - Risk a NPE - - ?
Regards Felix [1] http://people.apache.org/~felixk/shared-docs/xref/org/apache/directory/shared/ldap/codec/LdapTransformer.html#1305 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkv40xUACgkQ2lZVCB08qHFrMQCgsr1nqN/VaJau87GZ0/q7cEgn h0QAnikm6hLNzFGZmSeBddglUkCVb305 =EHdd -----END PGP SIGNATURE-----
