Hi,

I'd like to change the signatures  DAB.getProperty() methods. Right  
now they are:

     String getProperty(String documentName, String className, int  
objectNumber, String propertyName) throws Exception;
     String getProperty(String documentName, String className, String  
propertyName) throws Exception;
     String getProperty(String documentName, String propertyName)  
throws Exception;

I'd like to change them to:

     Object getProperty(String documentName, String className, int  
objectNumber, String propertyName);
     Object getProperty(String documentName, String className, String  
propertyName);
     Object getProperty(String documentName, String propertyName);

I have no idea why they currently return Strings and not Objects and  
why they are declared to throw an exception when they catch all  
exceptions and instead return null when an error occurs...

I need this change to be able to implement
http://jira.xwiki.org/jira/browse/XWIKI-4044
(Add support for looking for configuration parameters in  
XWikiPreferences, WebPreferences and the User Profile)

Here's my +1

Thanks
-Vincent

_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to