Closed nykolaslima closed 10 years ago
Done.
Thank you @ahirata
What do you think about release a new version?
Sent from my iPhone
On 25/10/2013, at 22:38, Arthur Hirata notifications@github.com wrote:
Closed #39.
— Reply to this email directly or view it on GitHub.
We must first change that Session feature.
I have one property
number
of primitiveint
type.If I configure my template with regex function it gives me an exception
IllegalArgumentException: No such attribute: number[java.lang.String]
I believe
ValueProcessor
is returning the generated value as a String and thanReflectionUtils.invokeSetter
is trying to callsetNumber(String)
but it should callsetNumber(int)
.Maybe change
ValueProcessor
to return the corresponding Wrapper class when the attribute is from a primitive type.