[jboss-jira] [JBoss JIRA] (LOGMGR-115) Writing the configuration file should handle properties with null values

James Perkins (JIRA) issues at jboss.org
Tue Oct 7 12:39:11 EDT 2014


James Perkins created LOGMGR-115:
------------------------------------

             Summary: 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
            Assignee: 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
(v6.3.1#6329)


More information about the jboss-jira mailing list