Harald Wellmann created TAMAYA-335:
--------------------------------------
Summary: NullPointerException on
SimplePropertySource.Builder.withName()
Key: TAMAYA-335
URL: https://issues.apache.org/jira/browse/TAMAYA-335
Project: Tamaya
Issue Type: Bug
Components: Core
Affects Versions: 0.3-incubating
Reporter: Harald Wellmann
{{org.apache.tamaya.spisupport.SimplePropertySource.Builder.withName(String)}}
always throws a {{NullPointerException}}.
The method parameter is never used:
{code}
public Builder withName(String val) {
this.name = Objects.requireNonNull(name);
return this;
}
{code}
The parameter should be renamed from {{val}} to {{name}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)