forked from square/retrofit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request square#1720 from square/jw/crappydoc
Correct rendering of '@' in Javadoc.
- Loading branch information
Showing
17 changed files
with
46 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,15 +43,15 @@ | |
* the builder} and pass your interface to {@link #create} to generate an implementation. | ||
* <p> | ||
* For example, | ||
* <pre>{@code | ||
* <pre><code> | ||
* Retrofit retrofit = new Retrofit.Builder() | ||
* .baseUrl("https://api.example.com/") | ||
* .addConverterFactory(GsonConverterFactory.create()) | ||
* .build(); | ||
* | ||
* MyApi api = retrofit.create(MyApi.class); | ||
* Response<User> user = api.getUser().execute(); | ||
* }</pre> | ||
* </code></pre> | ||
* | ||
* @author Bob Lee ([email protected]) | ||
* @author Jake Wharton ([email protected]) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,8 +32,6 @@ | |
* request body. | ||
* <p> | ||
* Body parameters may not be {@code null}. | ||
* | ||
* @author Eric Denman ([email protected]) | ||
*/ | ||
@Documented | ||
@Target(PARAMETER) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,19 +24,15 @@ | |
|
||
/** | ||
* Replaces the header with the value of its target. | ||
* <p> | ||
* <pre>{@code | ||
* <pre><code> | ||
* @GET("/") | ||
* Call<ResponseBody> foo(@Header("Accept-Language") String lang); | ||
* }</pre> | ||
* <p> | ||
* </code></pre> | ||
* Header parameters may be {@code null} which will omit them from the request. Passing a | ||
* {@link java.util.List List} or array will result in a header for each non-{@code null} item. | ||
* <p> | ||
* <strong>Note:</strong> Headers do not overwrite each other. All headers with the same name will | ||
* be included in the request. | ||
* | ||
* @author Adrian Cole ([email protected]) | ||
*/ | ||
@Documented | ||
@Retention(RUNTIME) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,8 +24,7 @@ | |
|
||
/** | ||
* Adds headers literally supplied in the {@code value}. | ||
* <p> | ||
* <pre>{@code | ||
* <pre><code> | ||
* @Headers("Cache-Control: max-age=640000") | ||
* @GET("/") | ||
* ... | ||
|
@@ -36,12 +35,9 @@ | |
* }) | ||
* @GET("/") | ||
* ... | ||
* }</pre> | ||
* <p> | ||
* </code></pre> | ||
* <strong>Note:</strong> Headers do not overwrite each other. All headers with the same name will | ||
* be included in the request. | ||
* | ||
* @author Adrian Cole ([email protected]) | ||
*/ | ||
@Documented | ||
@Target(METHOD) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters