You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tamaya.apache.org by "Philipp Ottlinger (JIRA)" <ji...@apache.org> on 2018/04/29 22:20:00 UTC
[jira] [Resolved] (TAMAYA-335) NullPointerException on
SimplePropertySource.Builder.withName()
[ https://issues.apache.org/jira/browse/TAMAYA-335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Philipp Ottlinger resolved TAMAYA-335.
--------------------------------------
Resolution: Fixed
Thanks for the bug report and the careful look into the code.
Did you already subscribe to our developer mailing list?
dev@tamaya.incubator.apache.org
> 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
> Assignee: Philipp Ottlinger
> Priority: Major
> Fix For: 0.4-incubating
>
>
> {{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)