Alexander Suter created TAMAYA-348:
--------------------------------------

             Summary: Strange handling of prefix in EnviornmentPropertySource
                 Key: TAMAYA-348
                 URL: https://issues.apache.org/jira/browse/TAMAYA-348
             Project: Tamaya
          Issue Type: Bug
            Reporter: Alexander Suter


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)

Reply via email to