You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tamaya.apache.org by "Anatole Tresch (JIRA)" <ji...@apache.org> on 2018/11/20 07:17:00 UTC

[jira] [Resolved] (TAMAYA-348) Strange handling of prefix in EnviornmentPropertySource

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

Anatole Tresch resolved TAMAYA-348.
-----------------------------------
    Resolution: Fixed

> Strange handling of prefix in EnviornmentPropertySource
> -------------------------------------------------------
>
>                 Key: TAMAYA-348
>                 URL: https://issues.apache.org/jira/browse/TAMAYA-348
>             Project: Tamaya
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.3-incubating
>            Reporter: Alexander Suter
>            Assignee: Anatole Tresch
>            Priority: Critical
>             Fix For: 0.4-incubating
>
>
> Hi all
> I just checked the following code:
> [https://github.com/apache/incubator-tamaya/blob/27d62b056015c5350431ad1dab3cb2be1bede821/code/spi-support/src/main/java/org/apache/tamaya/spisupport/propertysource/EnvironmentPropertySource.java#L136]
> For example this one:
> {code:java}
> String value = System.getProperty(TAMAYA_ENVPROPS_PREFIX);
> if(value==null){
>    prefix = System.getenv(TAMAYA_ENVPROPS_PREFIX);
> }{code}
> Is this a bug?
> I don't understand why it will loaded as SystemProperty and not safed to the member variable 'prefix'?
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)