Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(65)

Issue 2242041: Improve BeanDelegator to use correct sub field type

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 4 months ago by zhoresh
Modified:
15 years, 4 months ago
Reviewers:
dev-remailer, jtarrio
Base URL:
http://svn.apache.org/repos/asf/shindig/trunk
Visibility:
Public.

Description

This change clean and improve a bit the delegator to use the bean field type in conversion instead of relying on provided list of conversions. This change is needed to simplify overriding of the delegator

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -26 lines) Patch
java/common/src/main/java/org/apache/shindig/protocol/conversion/BeanDelegator.java View 5 chunks +48 lines, -25 lines 2 comments Download
java/common/src/test/java/org/apache/shindig/protocol/conversion/BeanDelegatorTest.java View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 3
zhoresh
15 years, 4 months ago (2010-09-17 18:51:15 UTC) #1
jtarrio
lgtm, but small typo http://codereview.appspot.com/2242041/diff/1/java/common/src/main/java/org/apache/shindig/protocol/conversion/BeanDelegator.java File java/common/src/main/java/org/apache/shindig/protocol/conversion/BeanDelegator.java (right): http://codereview.appspot.com/2242041/diff/1/java/common/src/main/java/org/apache/shindig/protocol/conversion/BeanDelegator.java#newcode214 java/common/src/main/java/org/apache/shindig/protocol/conversion/BeanDelegator.java:214: private Class<?> getParamtizedReturnType(Method method) { ...
15 years, 4 months ago (2010-09-17 22:36:49 UTC) #2
zhoresh
15 years, 4 months ago (2010-09-18 00:48:06 UTC) #3
I fixed the function name and committed to r998378

http://codereview.appspot.com/2242041/diff/1/java/common/src/main/java/org/ap...
File
java/common/src/main/java/org/apache/shindig/protocol/conversion/BeanDelegator.java
(right):

http://codereview.appspot.com/2242041/diff/1/java/common/src/main/java/org/ap...
java/common/src/main/java/org/apache/shindig/protocol/conversion/BeanDelegator.java:214:
private Class<?> getParamtizedReturnType(Method method) {
On 2010/09/17 22:36:50, jtarrio wrote:
> Parameterized

Done,
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b