[ 
https://issues.apache.org/jira/browse/CONFIGURATION-491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13232065#comment-13232065
 ] 

Oliver Heger commented on CONFIGURATION-491:
--------------------------------------------

Yes, you are right. The initialization is unnecessary. The field can be made 
final.
                
> XMLConfiguration.XMLBuilderVisitor.listDelimiter initial value is always 
> overridden
> -----------------------------------------------------------------------------------
>
>                 Key: CONFIGURATION-491
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-491
>             Project: Commons Configuration
>          Issue Type: Bug
>            Reporter: Sebb
>
> The private class field XMLConfiguration.XMLBuilderVisitor.listDelimiter is 
> initialised to
> AbstractConfiguration.getDefaultListDelimiter();
> However, the only constructor overwrites the field.
> So the default init could be removed, and the field could be made final.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to