[ 
https://issues.apache.org/jira/browse/TAMAYA-308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christian Niehues updated TAMAYA-308:
-------------------------------------
    Description: 
there is an error in CommonsConfigPropertySource: this.commonsConfig will be 
null

{{public CommonsConfigPropertySource(String name, Configuration commonsConfig) {
        commonsConfig = Objects.requireNonNull(commonsConfig);
        this.name = Objects.requireNonNull(name);
        try {
            this.ordinal = commonsConfig.getInt(PropertySource.TAMAYA_ORDINAL);
        } catch (Exception e) {
            this.ordinal = 0;
        }
    }}}

  was:
there is an error in CommonsConfigPropertySource: this.commonsConfig will be 
null

public CommonsConfigPropertySource(String name, Configuration commonsConfig) {
        commonsConfig = Objects.requireNonNull(commonsConfig);
        this.name = Objects.requireNonNull(name);
        try {
            this.ordinal = commonsConfig.getInt(PropertySource.TAMAYA_ORDINAL);
        } catch (Exception e) {
            this.ordinal = 0;
        }
    }


> Error in CommonsConfigPropertySource constructor
> ------------------------------------------------
>
>                 Key: TAMAYA-308
>                 URL: https://issues.apache.org/jira/browse/TAMAYA-308
>             Project: Tamaya
>          Issue Type: Bug
>          Components: Sandbox
>    Affects Versions: 0.4-incubating
>            Reporter: Christian Niehues
>
> there is an error in CommonsConfigPropertySource: this.commonsConfig will be 
> null
> {{public CommonsConfigPropertySource(String name, Configuration 
> commonsConfig) {
>         commonsConfig = Objects.requireNonNull(commonsConfig);
>         this.name = Objects.requireNonNull(name);
>         try {
>             this.ordinal = 
> commonsConfig.getInt(PropertySource.TAMAYA_ORDINAL);
>         } catch (Exception e) {
>             this.ordinal = 0;
>         }
>     }}}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to