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

Issue 2479042: Fix enum support in GadgetHandlerService and add default locale

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

Description

Two fixes: - Use name instead of toString for automatic enum conversion (toString can be different). - Add default locale for the service since the spec factory require locale internally.

Patch Set 1 #

Patch Set 2 : Add handling for wrong case in names #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -13 lines) Patch
java/common/src/main/java/org/apache/shindig/protocol/conversion/BeanDelegator.java View 1 6 chunks +31 lines, -12 lines 5 comments Download
java/common/src/test/java/org/apache/shindig/protocol/conversion/BeanDelegatorTest.java View 1 chunk +11 lines, -0 lines 0 comments Download
java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/GadgetsHandlerService.java View 2 chunks +3 lines, -1 line 2 comments Download

Messages

Total messages: 6
zhoresh
15 years, 5 months ago (2010-10-13 22:32:42 UTC) #1
zhoresh
Add handling for wrong case in names
15 years, 5 months ago (2010-10-14 21:59:37 UTC) #2
mhermanto
Mostly nits. http://codereview.appspot.com/2479042/diff/2001/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/2479042/diff/2001/java/common/src/main/java/org/apache/shindig/protocol/conversion/BeanDelegator.java#newcode64 java/common/src/main/java/org/apache/shindig/protocol/conversion/BeanDelegator.java:64: public static String normalizeName(String name) { Can ...
15 years, 5 months ago (2010-10-14 22:23:49 UTC) #3
mhermanto
LGTM++ Talked offline. Public methods will be used externally. Name collissions are possible but ImmutableMap ...
15 years, 5 months ago (2010-10-14 22:58:35 UTC) #4
zhoresh
http://codereview.appspot.com/2479042/diff/2001/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/2479042/diff/2001/java/common/src/main/java/org/apache/shindig/protocol/conversion/BeanDelegator.java#newcode64 java/common/src/main/java/org/apache/shindig/protocol/conversion/BeanDelegator.java:64: public static String normalizeName(String name) { On 2010/10/14 22:23:49, ...
15 years, 5 months ago (2010-10-14 22:59:23 UTC) #5
zhoresh
15 years, 5 months ago (2010-10-14 23:03:42 UTC) #6
On 2010/10/14 22:58:35, mhermanto wrote:
> LGTM++
> 
> Talked offline. Public methods will be used externally. Name collissions are
> possible but ImmutableMap will prevent it.

Thanks, updated default locale to private and committed to r1022754
Sign in to reply to this message.

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