Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeWang1127 committed Nov 22, 2023
1 parent 6438e7e commit 5bb3ac3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,12 @@
*
* <p>URL Fetch is only available on Google App Engine (not on any other Java environment), and is
* the underlying HTTP transport used for App Engine. Their implementation of {@link
* HttpURLConnection} is simply an abstraction layer on top of URL Fetch. By implementing
* transport that directly uses URL Fetch, we can optimize the behavior slightly, and can
* potentially take advantage of features in URL Fetch that are not available in {@link
* HttpURLConnection}. Furthermore, there is currently a serious bug in how HTTP headers are
* processed in the App Engine implementation of {@link HttpURLConnection}, which we are able to
* avoid using this implementation. Therefore, this is the recommended transport to use on App
* Engine.
* HttpURLConnection} is simply an abstraction layer on top of URL Fetch. By implementing transport
* that directly uses URL Fetch, we can optimize the behavior slightly, and can potentially take
* advantage of features in URL Fetch that are not available in {@link HttpURLConnection}.
* Furthermore, there is currently a serious bug in how HTTP headers are processed in the App Engine
* implementation of {@link HttpURLConnection}, which we are able to avoid using this
* implementation. Therefore, this is the recommended transport to use on App Engine.
*
* @since 1.10
* @author Yaniv Inbar
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,7 @@ public boolean isMtls() {
* @throws IOException I/O exception
* @since 1.4
*/
public void shutdown() throws IOException {

}
public void shutdown() throws IOException {}

public boolean isShutdown() {
return true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@
/**
* Thread-safe HTTP low-level transport based on the {@code java.net} package.
*
* <p>Users should consider modifying the keep alive property on {@link NetHttpTransport} to
* control
* <p>Users should consider modifying the keep alive property on {@link NetHttpTransport} to control
* whether the socket should be returned to a pool of connected sockets. More information is
* available <a
* href="http://docs.oracle.com/javase/7/docs/technotes/guides/net/http-keepalive.html">here</a>.
Expand Down

0 comments on commit 5bb3ac3

Please sign in to comment.