Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
Signed-off-by: litt <austin@swirldslabs.com>
  • Loading branch information
litt committed Sep 17, 2024
1 parent 4210c92 commit 9aee373
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ private static String generateCompareTo(final List<Field> fields, final String j
String bodyContent =
"""
/**
* Implemenetation of Comparable interface
* Implementation of Comparable interface
*/
@Override
public int compareTo($javaRecordName thatObj) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

/**
* Represents a route in a {@link PbjRouting} that corresponds to a specific gRPC service method.
* An instance of this class exists is created for each gRPC method on a {@link ServiceInterface}
* An instance of this class is created for each gRPC method on a {@link ServiceInterface}
* registered with a {@link PbjRouting}.
*/
final class PbjMethodRoute extends PbjRoute {
Expand Down Expand Up @@ -62,13 +62,13 @@ final class PbjMethodRoute extends PbjRoute {
.addTag(Tag.create(SERVICE_TAG, serviceName))
.addTag(Tag.create(METHOD_TAG, methodName))
.addTag(Tag.create(FAILURE_TAG, "http-exception"))
.description("The number of failed gRPC requests"));
.description("The number of failed http requests"));
this.failedUnknownRequestCounter = metricRegistry.getOrCreate(Counter.builder("pbj.grpc.failed.requests")
.scope(SCOPE)
.addTag(Tag.create(SERVICE_TAG, serviceName))
.addTag(Tag.create(METHOD_TAG, methodName))
.addTag(Tag.create(FAILURE_TAG, "unknown-exception"))
.description("The number of failed gRPC requests"));
.description("The number of failed unknown requests"));
this.deadlineExceededCounter = metricRegistry.getOrCreate(Counter.builder("pbj.grpc.deadline.exceeded")
.scope(SCOPE)
.addTag(Tag.create(SERVICE_TAG, serviceName))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ final class PbjProtocolHandler implements Http2SubProtocolSelector.SubProtocolHa

/**
* Called at the very beginning of the request, before any data has arrived. At this point we can look at the
* request headers and determine whether we have a valid request, and do any other initialization we need ot.
* request headers and determine whether we have a valid request, and do any other initialization we need to.
*/
@Override
public void init() {
Expand Down

0 comments on commit 9aee373

Please sign in to comment.