You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2009/11/24 13:42:39 UTC

[jira] Created: (JCR-2404) Return null for optional configuration elements

Return null for optional configuration elements
-----------------------------------------------

                 Key: JCR-2404
                 URL: https://issues.apache.org/jira/browse/JCR-2404
             Project: Jackrabbit Content Repository
          Issue Type: Improvement
          Components: jackrabbit-core
    Affects Versions: 2.0-alpha3
            Reporter: Marcel Reutegger
            Priority: Minor


Two recently introduced configuration elements are optional but the configuration parser still returns an instance when the elements are missing in the configuration. The parser should return null when an element is not there in order to distinguish it from the case where an empty element is present. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (JCR-2404) Return null for optional configuration elements

Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-2404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Reutegger updated JCR-2404:
----------------------------------

    Status: Patch Available  (was: Open)

> Return null for optional configuration elements
> -----------------------------------------------
>
>                 Key: JCR-2404
>                 URL: https://issues.apache.org/jira/browse/JCR-2404
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-core
>    Affects Versions: 2.0-alpha3
>            Reporter: Marcel Reutegger
>            Priority: Minor
>         Attachments: JCR-2404.patch
>
>
> Two recently introduced configuration elements are optional but the configuration parser still returns an instance when the elements are missing in the configuration. The parser should return null when an element is not there in order to distinguish it from the case where an empty element is present. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (JCR-2404) Return null for optional configuration elements

Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-2404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Reutegger updated JCR-2404:
----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0
           Status: Resolved  (was: Patch Available)

Applied patch in revision: 884096

> Return null for optional configuration elements
> -----------------------------------------------
>
>                 Key: JCR-2404
>                 URL: https://issues.apache.org/jira/browse/JCR-2404
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-core
>    Affects Versions: 2.0-alpha3
>            Reporter: Marcel Reutegger
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: JCR-2404.patch
>
>
> Two recently introduced configuration elements are optional but the configuration parser still returns an instance when the elements are missing in the configuration. The parser should return null when an element is not there in order to distinguish it from the case where an empty element is present. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (JCR-2404) Return null for optional configuration elements

Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-2404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Reutegger updated JCR-2404:
----------------------------------

    Attachment: JCR-2404.patch

Proposed changes.

> Return null for optional configuration elements
> -----------------------------------------------
>
>                 Key: JCR-2404
>                 URL: https://issues.apache.org/jira/browse/JCR-2404
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-core
>    Affects Versions: 2.0-alpha3
>            Reporter: Marcel Reutegger
>            Priority: Minor
>         Attachments: JCR-2404.patch
>
>
> Two recently introduced configuration elements are optional but the configuration parser still returns an instance when the elements are missing in the configuration. The parser should return null when an element is not there in order to distinguish it from the case where an empty element is present. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.