You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and an entry with a trailing space in src/main/resources/META-INF/microprofile-config.properties like:
flag=true<space>
I was surprised to see the boolean false value injected, .. until I noticed the space.
Though I can appreciate how this could be considered user error, since in general, IIUC, trailing whitespace is significant when loading properties files in Java, it still seemed worth raising in case anyone had any opinion that this should be treated specially in MP Config, for this particular source or perhaps other sources too?
Description
With Java source of:
and an entry with a trailing space in src/main/resources/META-INF/microprofile-config.properties like:
flag=true<space>
I was surprised to see the boolean
false
value injected, .. until I noticed the space.Though I can appreciate how this could be considered user error, since in general, IIUC, trailing whitespace is significant when loading properties files in Java, it still seemed worth raising in case anyone had any opinion that this should be treated specially in MP Config, for this particular source or perhaps other sources too?
(I did open an issue on the tooling project here to display a warning:
eclipse/lsp4mp#128 (comment) )
Versions:
MP Config v1.4
v20.0.0.12 - Open Liberty
The text was updated successfully, but these errors were encountered: