You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tamaya.apache.org by "Harald Wellmann (JIRA)" <ji...@apache.org> on 2018/04/29 20:58:00 UTC
[jira] [Created] (TAMAYA-335) NullPointerException on
SimplePropertySource.Builder.withName()
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)