Skip to content

Commit

Permalink
Using an interface instead of an enum implementing it. (#2875)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomas-langer authored and paulparkinson committed Mar 29, 2021
1 parent ed903da commit 126a23d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public WebClientRequestBuilder method(String method) {
}

@Override
public WebClientRequestBuilder method(Http.Method method) {
public WebClientRequestBuilder method(Http.RequestMethod method) {
return WebClientRequestBuilderImpl.create(eventGroup, configuration, method);
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020 Oracle and/or its affiliates.
* Copyright (c) 2020, 2021 Oracle and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -137,7 +137,7 @@ static Builder builder() {
* @param method request method
* @return client request builder
*/
WebClientRequestBuilder method(Http.Method method);
WebClientRequestBuilder method(Http.RequestMethod method);

final class Builder implements io.helidon.common.Builder<WebClient>,
ParentingMediaContextBuilder<Builder>,
Expand Down

0 comments on commit 126a23d

Please sign in to comment.