Skip to content

Commit

Permalink
Don't use private[this] in generated code (#615)
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostdogpr authored Apr 9, 2024
1 parent 72d8159 commit c09b79e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ class ZioFilePrinter(
)
.indent
.add(
s"private[this] class ServiceStub(channel: $ZChannel, transforms: $ClientTransform)"
s"private class ServiceStub(channel: $ZChannel, transforms: $ClientTransform)"
)
.add(s" extends ${clientWithResponseMetadataServiceName.name} {")
.indented(
Expand Down Expand Up @@ -513,7 +513,7 @@ class ZioFilePrinter(
.indent
.add("")
.add(
s"private[this] class ServiceStub(underlying: ${clientWithResponseMetadataServiceName.name})"
s"private class ServiceStub(underlying: ${clientWithResponseMetadataServiceName.name})"
)
.add(s" extends ${clientServiceName.name} {")
.indented(
Expand Down

0 comments on commit c09b79e

Please sign in to comment.