From f43ac9547b4107ee869b9a19b849ac640eda4019 Mon Sep 17 00:00:00 2001 From: Looly Date: Tue, 15 Jun 2021 17:19:34 +0800 Subject: [PATCH] remove comment --- hutool-http/src/main/java/cn/hutool/http/HttpRequest.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/hutool-http/src/main/java/cn/hutool/http/HttpRequest.java b/hutool-http/src/main/java/cn/hutool/http/HttpRequest.java index 50cd73d08a..dd6e72de02 100644 --- a/hutool-http/src/main/java/cn/hutool/http/HttpRequest.java +++ b/hutool-http/src/main/java/cn/hutool/http/HttpRequest.java @@ -343,13 +343,6 @@ public HttpConnection getConnection() { * @return HttpRequest */ public HttpRequest method(Method method) { -// if (Method.PATCH == method) { -// this.method = Method.POST; -// this.header("X-HTTP-Method-Override", "PATCH"); -// } else { -// this.method = method; -// } - this.method = method; return this; }