From cec3ff43a5dd3ac5c8aa6f34692f4357a0cae7a3 Mon Sep 17 00:00:00 2001 From: ramsessanchez <63934382+ramsessanchez@users.noreply.github.com> Date: Thu, 20 Jul 2023 09:16:38 -0700 Subject: [PATCH 1/2] Update components/http/okHttp/src/main/java/com/microsoft/kiota/http/middleware/UrlReplaceHandler.java Co-authored-by: Eastman --- .../com/microsoft/kiota/http/middleware/UrlReplaceHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/http/okHttp/src/main/java/com/microsoft/kiota/http/middleware/UrlReplaceHandler.java b/components/http/okHttp/src/main/java/com/microsoft/kiota/http/middleware/UrlReplaceHandler.java index c07235cdf..e75886359 100644 --- a/components/http/okHttp/src/main/java/com/microsoft/kiota/http/middleware/UrlReplaceHandler.java +++ b/components/http/okHttp/src/main/java/com/microsoft/kiota/http/middleware/UrlReplaceHandler.java @@ -28,7 +28,7 @@ public UrlReplaceHandler(){ this(new UrlReplaceHandlerOption()); } /** - * Instantiate a GraphTelemetryHandler with specified GraphClientOption + * Instantiate a UrlReplaceHandler with specified GraphClientOption * @param urlReplaceHandlerOption the specified GraphClientOption for the GraphTelemetryHandler. */ public UrlReplaceHandler(@Nonnull UrlReplaceHandlerOption urlReplaceHandlerOption){ From 5a42ba3fb449b16b8edcced317df3f2fa5d5278b Mon Sep 17 00:00:00 2001 From: ramsessanchez <63934382+ramsessanchez@users.noreply.github.com> Date: Thu, 20 Jul 2023 09:31:40 -0700 Subject: [PATCH 2/2] Update UrlReplaceHandler.java javadoc corrections --- .../kiota/http/middleware/UrlReplaceHandler.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/components/http/okHttp/src/main/java/com/microsoft/kiota/http/middleware/UrlReplaceHandler.java b/components/http/okHttp/src/main/java/com/microsoft/kiota/http/middleware/UrlReplaceHandler.java index e75886359..4449f0020 100644 --- a/components/http/okHttp/src/main/java/com/microsoft/kiota/http/middleware/UrlReplaceHandler.java +++ b/components/http/okHttp/src/main/java/com/microsoft/kiota/http/middleware/UrlReplaceHandler.java @@ -22,14 +22,14 @@ public class UrlReplaceHandler implements Interceptor { private UrlReplaceHandlerOption mUrlReplaceHandlerOption; /** - * Instantiate a GraphTelemetryHandler with default GraphClientOption. + * Instantiate a UrlReplaceHandler with default UrlReplaceHandlerOption. */ public UrlReplaceHandler(){ this(new UrlReplaceHandlerOption()); } /** - * Instantiate a UrlReplaceHandler with specified GraphClientOption - * @param urlReplaceHandlerOption the specified GraphClientOption for the GraphTelemetryHandler. + * Instantiate a UrlReplaceHandler with specified UrlReplaceHandlerOption + * @param urlReplaceHandlerOption the specified UrlReplaceHandlerOption for the UrlReplaceHandler. */ public UrlReplaceHandler(@Nonnull UrlReplaceHandlerOption urlReplaceHandlerOption){ Objects.requireNonNull(urlReplaceHandlerOption); @@ -66,15 +66,15 @@ public Response intercept(@Nonnull Chain chain) throws IOException { return chain.proceed(request); } /** - * Gets the GraphClientOption for the GraphTelemetryHandler. - * @return the GraphClientOption for the GraphTelemetryHandler. + * Gets the UrlReplaceHandlerOption for the UrlReplaceHandler. + * @return the UrlReplaceHandlerOption for the UrlReplaceHandler. */ public UrlReplaceHandlerOption getUrlReplaceHandlerOption() { return new UrlReplaceHandlerOption(mUrlReplaceHandlerOption.getReplacementPairs(), mUrlReplaceHandlerOption.isEnabled()); } /** - * Sets the GraphClientOption for the GraphTelemetryHandler. - * @param urlReplaceHandlerOption the GraphClientOption to set. + * Sets the GraphClientOption for the UrlReplaceHandler. + * @param urlReplaceHandlerOption the UrlReplaceHandlerOption to set. */ public void setUrlReplaceHandlerOption(UrlReplaceHandlerOption urlReplaceHandlerOption) { this.mUrlReplaceHandlerOption = new UrlReplaceHandlerOption(urlReplaceHandlerOption.getReplacementPairs(), urlReplaceHandlerOption.isEnabled());