Cool. Thanks.
Regards
Felix
Am Dienstag, den 08.01.2008, 10:51 +0100 schrieb Bertrand Delacretaz:
> Hi Felix,
>
> On Jan 8, 2008 8:48 AM, Felix Meschberger <[EMAIL PROTECTED]> wrote:
> > ...I think, if the osgiProp is missing, the StringBuffer should just be
> > initialized empty. This IMHO is not a failure situation and thus not
> > warrant an Exception...
>
> Ok, so in revision 609916 I have changed that code to
>
> private void resolve(Map<String, String> props, String osgiProp,
> String prefix) throws BundleException {
> final String propVal = props.get(osgiProp);
> StringBuffer prop = new StringBuffer(propVal == null ? "" : propVal);
>
> -Bertrand