Skip to content

Commit

Permalink
fix JavaDoc issues
Browse files Browse the repository at this point in the history
  • Loading branch information
yusuke committed Mar 19, 2014
1 parent e45a2d9 commit 11d4d95
Show file tree
Hide file tree
Showing 95 changed files with 290 additions and 2,155 deletions.
Expand Up @@ -40,27 +40,18 @@ final class AppEngineHttpResponseImpl extends HttpResponse implements HttpRespon
this.future = futureResponse;
}

/**
* {@inheritDoc}
*/
@Override
public int getStatusCode() {
ensureResponseEvaluated();
return statusCode;
}

/**
* {@inheritDoc}
*/
@Override
public String getResponseHeader(String name) {
ensureResponseEvaluated();
return headers.get(name);
}

/**
* {@inheritDoc}
*/
@Override
public Map<String, List<String>> getResponseHeaderFields() {
ensureResponseEvaluated();
Expand All @@ -71,54 +62,36 @@ public Map<String, List<String>> getResponseHeaderFields() {
return ret;
}

/**
* {@inheritDoc}
*/
@Override
public InputStream asStream() {
ensureResponseEvaluated();
return super.asStream();
}

/**
* {@inheritDoc}
*/
@Override
public String asString() throws TwitterException {
ensureResponseEvaluated();
return super.asString();
}

/**
* {@inheritDoc}
*/
@Override
public final JSONObject asJSONObject() throws TwitterException {
ensureResponseEvaluated();
return super.asJSONObject();
}

/**
* {@inheritDoc}
*/
@Override
public final JSONArray asJSONArray() throws TwitterException {
ensureResponseEvaluated();
return super.asJSONArray();
}

/**
* {@inheritDoc}
*/
@Override
public final Reader asReader() {
ensureResponseEvaluated();
return super.asReader();
}

/**
* {@inheritDoc}
*/
@Override
public void disconnect() throws IOException {
if (!future.isDone() && !future.isCancelled()) {
Expand Down

0 comments on commit 11d4d95

Please sign in to comment.