Hi.

I wonder why AbstractConfiguration::getArray(cls, key) returns a single object, not an array of objects? Can somebody explain why the caller have to make an explicit cast?

e.g.
AbstractConfiguration &configuration = ....;

Object obj = configuration.getArray(String.class, "key);
// expected Object[] obj = configuration.getArray(String.class, "key);


Regards
Rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org

Reply via email to