[
https://issues.jboss.org/browse/LOGMGR-115?page=com.atlassian.jira.plugin...
]
James Perkins commented on LOGMGR-115:
--------------------------------------
The other option would be to have the {{setPropertyValueString()}} not allow for {{null}}
values. This would likely be the best option which would require {{removeProperty()}} is
used.
Writing the configuration file should handle properties with null
values
------------------------------------------------------------------------
Key: LOGMGR-115
URL:
https://issues.jboss.org/browse/LOGMGR-115
Project: JBoss Log Manager
Issue Type: Enhancement
Reporter: James Perkins
Priority: Minor
Currently in the configuration API if a property is set to {{null}} an NPE occurs during
the write and is swallowed. The idea was the {{removeProperty()}} should be used in the
API. We should though check for {{null}} values and either not write the value or leave
the value blank and have the reader for the configuration assume a value of 0 length is
{{null}}.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)