Skip to content

Commit cb2bad4

Browse files
Copilottrask
andcommitted
Make public classes final to follow style guide
Co-authored-by: trask <[email protected]>
1 parent 1a33013 commit cb2bad4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

noop-api/src/main/java/io/opentelemetry/contrib/noopapi/NoopContextStorageProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
/**
1616
* A {@link ContextStorageProvider} that returns a {@link ContextStorage} which is completely no-op.
1717
*/
18-
public class NoopContextStorageProvider implements ContextStorageProvider {
18+
public final class NoopContextStorageProvider implements ContextStorageProvider {
1919

2020
/** Returns a no-op context storage. */
2121
@Override

noop-api/src/main/java/io/opentelemetry/contrib/noopapi/NoopOpenTelemetry.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
* <p>The above will succeed both with the {@linkplain OpenTelemetry#noop() default implementation}
4343
* and this one, but with this implementation there will be no overhead at all.
4444
*/
45-
public class NoopOpenTelemetry implements OpenTelemetry {
45+
public final class NoopOpenTelemetry implements OpenTelemetry {
4646

4747
private static final OpenTelemetry INSTANCE = new NoopOpenTelemetry();
4848

0 commit comments

Comments
 (0)