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

Issue 45044: Kill ResponseError (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 1 month ago by awiner
Modified:
14 years, 9 months ago
Reviewers:
shindig.remailer
CC:
awiner
Base URL:
https://svn.apache.org/repos/asf/incubator/shindig/trunk/
Visibility:
Public.

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+347 lines, -345 lines) Patch
M java/common/src/main/java/org/apache/shindig/protocol/ApiServlet.java View 2 chunks +3 lines, -3 lines 0 comments Download
M java/common/src/main/java/org/apache/shindig/protocol/BaseRequestItem.java View 7 chunks +8 lines, -6 lines 0 comments Download
M java/common/src/main/java/org/apache/shindig/protocol/DataServiceServlet.java View 4 chunks +6 lines, -4 lines 1 comment Download
M java/common/src/main/java/org/apache/shindig/protocol/DefaultHandlerRegistry.java View 4 chunks +6 lines, -4 lines 0 comments Download
M java/common/src/main/java/org/apache/shindig/protocol/HandlerPreconditions.java View 2 chunks +6 lines, -4 lines 0 comments Download
M java/common/src/main/java/org/apache/shindig/protocol/JsonRpcServlet.java View 4 chunks +28 lines, -8 lines 2 comments Download
M java/common/src/main/java/org/apache/shindig/protocol/ProtocolException.java View 1 chunk +19 lines, -7 lines 0 comments Download
D java/common/src/main/java/org/apache/shindig/protocol/ResponseError.java View 1 chunk +0 lines, -90 lines 0 comments Download
M java/common/src/main/java/org/apache/shindig/protocol/ResponseItem.java View 5 chunks +12 lines, -12 lines 0 comments Download
M java/common/src/test/java/org/apache/shindig/protocol/DataServiceServletTest.java View 3 chunks +6 lines, -7 lines 0 comments Download
M java/common/src/test/java/org/apache/shindig/protocol/DefaultHandlerRegistryTest.java View 3 chunks +4 lines, -2 lines 0 comments Download
M java/common/src/test/java/org/apache/shindig/protocol/TestHandler.java View 2 chunks +3 lines, -1 line 0 comments Download
M java/gadgets/src/main/java/org/apache/shindig/gadgets/http/InvalidationHandler.java View 4 chunks +8 lines, -8 lines 1 comment Download
M java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/HttpRequestHandler.java View 6 chunks +16 lines, -12 lines 0 comments Download
M java/social-api/src/main/java/org/apache/shindig/social/opensocial/service/AppDataHandler.java View 2 chunks +5 lines, -4 lines 0 comments Download
M java/social-api/src/main/java/org/apache/shindig/social/opensocial/service/MessageHandler.java View 4 chunks +18 lines, -4 lines 0 comments Download
M java/social-api/src/main/java/org/apache/shindig/social/opensocial/spi/SocialSpiException.java View 1 chunk +2 lines, -3 lines 0 comments Download
M java/social-api/src/main/java/org/apache/shindig/social/sample/service/SampleContainerHandler.java View 2 chunks +6 lines, -5 lines 0 comments Download
M java/social-api/src/main/java/org/apache/shindig/social/sample/spi/JsonDbOpensocialService.java View 23 chunks +165 lines, -143 lines 0 comments Download
M java/social-api/src/test/java/org/apache/shindig/social/opensocial/service/AppDataHandlerTest.java View 4 chunks +9 lines, -7 lines 0 comments Download
M java/social-api/src/test/java/org/apache/shindig/social/opensocial/service/ResponseItemTest.java View 2 chunks +10 lines, -6 lines 0 comments Download
M java/social-api/src/test/java/org/apache/shindig/social/sample/spi/JsonDbOpensocialServiceTest.java View 3 chunks +7 lines, -5 lines 0 comments Download

Messages

Total messages: 3
awiner
This is what it looks like to kill off ResponseError, and just go with HTTP ...
15 years, 1 month ago (2009-04-20 19:08:27 UTC) #1
Sachin Shenoy
Looks good to me. And thanks for fixing this. http://codereview.appspot.com/45044/diff/1/13 File java/common/src/main/java/org/apache/shindig/protocol/DataServiceServlet.java (right): http://codereview.appspot.com/45044/diff/1/13#newcode141 Line ...
15 years, 1 month ago (2009-04-21 12:47:08 UTC) #2
ianboston
15 years, 1 month ago (2009-04-21 17:21:15 UTC) #3
The import order doesnt look quite right on some of these classes, but it didnt
look right to start with ?

also,
I am slightly concerned about binding the SPI to javax.servlet. Just a gut
feeling that binding the protocol impl all the way down the stack means you cant
use another protocol... but thats probably just unfounded as this is all about
http.

http://codereview.appspot.com/45044/diff/1/22
File
java/gadgets/src/main/java/org/apache/shindig/gadgets/http/InvalidationHandler.java
(right):

http://codereview.appspot.com/45044/diff/1/22#newcode31
Line 31: import javax.servlet.http.HttpServletResponse;
I have the following import order, as configured some time last year when the
code style was agreed.
 
8=javax
7=java
6=org
5=org.apache.abdera
4=org.apache.shindig
3=net
2=junit
1=com
0=com.google


0 is the first


I dont think either before or after the patch is correct. (might be wrong about
that)
Sign in to reply to this message.

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