Skip to content

Commit

Permalink
Remove outdated TODO (#4016)
Browse files Browse the repository at this point in the history
Follow up 1490e6b.
  • Loading branch information
Goooler committed Dec 19, 2023
1 parent ad84303 commit c0d2b54
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion retrofit/src/main/java/retrofit2/HttpServiceMethod.java
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ static <ResponseT, ReturnT> HttpServiceMethod<ResponseT, ReturnT> parseAnnotatio
if (responseType == Response.class) {
throw methodError(method, "Response must include generic type (e.g., Response<String>)");
}
// TODO support Unit for Kotlin?
if (requestFactory.httpMethod.equals("HEAD")
&& !Void.class.equals(responseType)
&& !Utils.isUnit(responseType)) {
Expand Down

0 comments on commit c0d2b54

Please sign in to comment.