Skip to content

Commit aaf6b4c

Browse files
authored
Remove value field from io.minio.http.Method enum (#1271)
1 parent b2897ab commit aaf6b4c

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

api/src/main/java/io/minio/http/Method.java

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,9 @@
1818

1919
/** HTTP methods. */
2020
public enum Method {
21-
GET("GET"),
22-
HEAD("HEAD"),
23-
POST("POST"),
24-
PUT("PUT"),
25-
DELETE("DELETE");
26-
private final String value;
27-
28-
private Method(String value) {
29-
this.value = value;
30-
}
21+
GET,
22+
HEAD,
23+
POST,
24+
PUT,
25+
DELETE;
3126
}

0 commit comments

Comments
 (0)