directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Knecht <fe...@otego.com>
Subject Which choice to choose (DefaultSchemaManager)
Date Mon, 17 May 2010 11:09:01 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This makes no sense to me [1]:

public boolean loadRelaxed( String... schemaNames ) throws Exception
{
    Schema[] schemas = toArray( schemaNames );
    return false;
}

POssible choices:
[A] Drop the "Schema[] ..." line
[B] change return value to "return loadRelaxed(schemas)"

Either I'd vote for [A], because[B] will return "false" anyway
(return loadRelaxed(schemas) returns false anyway)
or
the implementation at line 1003 is still missing ("TODO Auto-generated
method stub")

Any hints on this?

Thanks
Felix

[1]
http://people.apache.org/~felixk/shared-docs/xref/org/apache/directory/shared/ldap/schema/manager/impl/DefaultSchemaManager.html#1013
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvxI80ACgkQ2lZVCB08qHHL3QCg4hjVtZLP2bTEP9L3Oqv04nen
gz0AnAirnP+r/kMFJq5ihku35mAukE/E
=4eij
-----END PGP SIGNATURE-----

Mime
View raw message