Activity report on *[JIRA] Improvement SKER4404 - Automatically assign config settings in readSearchConfiguration where there is a setter*
Scarab Link: http://sesat.no/scarab/issues/id/SKER4404 Module: Sesat> Kernel Activity generated by Mick Semb Wever ([EMAIL PROTECTED]) at 05/26/2008 15:25 *Reasons for the changes* - use \{code\}\{code\} to format code lines correctly. and isn't this issue "in progress" now? *Attribute changes* - "Description" set to: "(Original JIRA Id: SEARCH-4404) \\ today we have code like this: {code} setName(element.getAttribute("id")); AbstractDocumentFactory.fillBeanProperty(this, inherit, "alwaysRun", ParseType.Boolean, element, "true"); {code} the problem with doing it this way is that we have to garanti that all valid options are listed (like id and alwaysRun), if one is forgotten it will simply be ignored. There are also possible to missspell names. The code will also accept attributes that are not valid. We can instad look up setters and apply all accepted attributes and report a problem when someone is trying to set an invalid attribute. This will remove quite a bit of code as well." -------------------------------------------------------------------------------
_______________________________________________ Kernel-issues mailing list [email protected] http://sesat.no/mailman/listinfo/kernel-issues
