You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juneau.apache.org by "James Bognar (Jira)" <ji...@apache.org> on 2019/10/31 19:45:00 UTC
[jira] [Created] (JUNEAU-160) Setting bean properties of type list
don't use setters.
James Bognar created JUNEAU-160:
-----------------------------------
Summary: Setting bean properties of type list don't use setters.
Key: JUNEAU-160
URL: https://issues.apache.org/jira/browse/JUNEAU-160
Project: Juneau
Issue Type: Bug
Components: Code
Affects Versions: 8.1.1
Reporter: James Bognar
Assignee: James Bognar
When parsing into the following bean...
class Foo {
public List<String> getFoo() {}
public void setFoo(List<String>) {}
}
...when setting values on the bean, we're adding to the result of getFoo() instead of calling setFoo() with the new list.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)