Skip to content

Commit

Permalink
fix formatting to pass the lints
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagoyf committed Nov 15, 2020
1 parent 419276a commit 4883091
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
9 changes: 4 additions & 5 deletions retrofit/src/main/java/retrofit2/http/Multipart.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@
@Target(METHOD)
@Retention(RUNTIME)
public @interface Multipart {
/**
* Sets the type(MediaType) on MultipartBody. When calling the
*/

String type() default "multipart/form-data";
/**
* Sets the type(MediaType) on MultipartBody. When calling the
*/
String type() default "multipart/form-data";
}
1 change: 0 additions & 1 deletion retrofit/src/test/java/retrofit2/RequestFactoryTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -3291,7 +3291,6 @@ Call<ResponseBody> method(@Part("ping") String ping, @Part("kit") RequestBody ki
return null;
}
}

try {
buildRequest(Example.class, "pong", RequestBody.create(TEXT_PLAIN, "kat"));
fail();
Expand Down

0 comments on commit 4883091

Please sign in to comment.