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

Issue 157054: Allow injecting additional encoding detector

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

Description

It would be nice to allow injection of a better encoding detector then the ICU or simple UTF8 detection.

Patch Set 1 : Fix path issue in patch #

Total comments: 4

Patch Set 2 : Updated according to comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -15 lines) Patch
java/gadgets/src/main/java/org/apache/shindig/gadgets/encoding/EncodingDetector.java View 1 4 chunks +17 lines, -6 lines 0 comments Download
java/gadgets/src/main/java/org/apache/shindig/gadgets/http/HttpResponse.java View 1 2 chunks +5 lines, -1 line 0 comments Download
java/gadgets/src/test/java/org/apache/shindig/gadgets/encoding/EncodingDetectorTest.java View 1 2 chunks +57 lines, -8 lines 0 comments Download

Messages

Total messages: 8
zhoresh
15 years, 9 months ago (2009-11-18 03:04:19 UTC) #1
zhoresh
Fix error in creation of patch file
15 years, 9 months ago (2009-11-19 02:47:16 UTC) #2
zhoresh
Fix path issue in patch
15 years, 9 months ago (2009-11-19 02:51:02 UTC) #3
johnfargo
A few factoring comments. thanks Ziv! http://codereview.appspot.com/157054/diff/1006/6 File java/gadgets/src/main/java/org/apache/shindig/gadgets/encoding/EncodingDetector.java (right): http://codereview.appspot.com/157054/diff/1006/6#newcode60 java/gadgets/src/main/java/org/apache/shindig/gadgets/encoding/EncodingDetector.java:60: return alternateDecoder.detectEncoding(input); IMO ...
15 years, 9 months ago (2009-11-24 00:03:11 UTC) #4
zhoresh
Updated according to comments
15 years, 9 months ago (2009-11-24 03:01:06 UTC) #5
zhoresh
Updated according to comments
15 years, 9 months ago (2009-11-24 03:02:54 UTC) #6
zhoresh
I fixed the code according to the comments http://codereview.appspot.com/157054/diff/1006/6 File java/gadgets/src/main/java/org/apache/shindig/gadgets/encoding/EncodingDetector.java (right): http://codereview.appspot.com/157054/diff/1006/6#newcode60 java/gadgets/src/main/java/org/apache/shindig/gadgets/encoding/EncodingDetector.java:60: return ...
15 years, 9 months ago (2009-11-24 03:04:55 UTC) #7
johnfargo
15 years, 9 months ago (2009-11-24 06:55:36 UTC) #8
Looks great, patch committed, with only slight formatting updates (lines <100
chars, Falbback -> Fallback).
Sign in to reply to this message.

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