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

Issue 1820041: Remove ApiServlet.checkContentTypes public method in favor of ContentTypes.checkContentTypes (Closed)

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

Description

The ApiServlet.checkContentTypes method it is just a simple wrapper to ContentTypes.checkContentTypes and its not used by external class other that the subclasses JsonRpcServlet and DataServiceServlet. Modify the JsonRpcServlet and DataServiceServlet to call ContentTypes.checkContentTypes instead.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -11 lines) Patch
java/common/src/main/java/org/apache/shindig/protocol/ApiServlet.java View 3 chunks +1 line, -7 lines 0 comments Download
java/common/src/main/java/org/apache/shindig/protocol/DataServiceServlet.java View 2 chunks +2 lines, -2 lines 0 comments Download
java/common/src/main/java/org/apache/shindig/protocol/JsonRpcServlet.java View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 1
henry.saputra
15 years, 8 months ago (2010-07-13 00:07:47 UTC) #1
Simple change to remove ApiServlet.checkContentTypes method to use
ContentTypes.checkContentTypes method instead.
Sign in to reply to this message.

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