jboss/metadata — pull request #27 by robertpanzer (2011-12-09 14:51:43+00:00)
Title: Fix merging of loadOnStartup annotation values with web.xml metadata

This is a fix for JBMETA-346
The first problem this request solves is, that ServletMetaData.setLoadOnStartup(String) sets the value to 0 when the given string is null. This happens, when a servlet element in the web.xml does not contain a load-on-startup element.
The second problem solved is, that the ServletMetaData instance only contains the int value but not the string value for the meta data collected from the annotations. E.g. getLoadOnStartup() is null but getLoadOnStartupInt() already contains the correct value()