Skip to content

Commit

Permalink
Small typo fix in doc page; reinstate commented-out codesin test
Browse files Browse the repository at this point in the history
  • Loading branch information
tjquinno committed Nov 26, 2024
1 parent 9a41b02 commit 3dbadff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/src/main/asciidoc/mp/restclient/restclient.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ Add a dependency on the Helidon Rest Client implementation and create the follow
[source,java]
.client interface
----
include::{sourcedir}/mp/restclient//RestclientSnippets.java[tag=snippet_6, indent=0]
include::{sourcedir}/mp/restclient/RestclientSnippets.java[tag=snippet_6, indent=0]
----
[[example-after-client-interface]]
Then create a runnable method as described in <<creating-a-new-client, Creating new client>>, but with baseUri
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ void checkMetricsUpdates() {
// relative automatically-named timer on parentGet method on superinterface = subtype.method-name
TimerInfo getTimerFromSuperTypeInfo = TimerInfo.create(metricRegistry, ServiceClient.class.getCanonicalName()
+ ".get");
// assertThat("Relative automatically-named timer on method in superinterface", getTimerFromSuperTypeInfo.timer,
// notNullValue());
assertThat("Relative automatically-named timer on method in superinterface", getTimerFromSuperTypeInfo.timer,
notNullValue());

timers.add(getTimerFromSuperTypeInfo);

Expand Down

0 comments on commit 3dbadff

Please sign in to comment.