Skip to content

Commit 056160e

Browse files
Copilottrask
andcommitted
Apply spotless formatting
Co-authored-by: trask <218610+trask@users.noreply.github.com>
1 parent a3a3e62 commit 056160e

3 files changed

Lines changed: 4 additions & 8 deletions

File tree

semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/PeerIncubatingAttributes.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ public final class PeerIncubatingAttributes {
3131
*
3232
* @deprecated Replaced by {@code service.peer.name}.
3333
*/
34-
@Deprecated
35-
public static final AttributeKey<String> PEER_SERVICE = stringKey("peer.service");
34+
@Deprecated public static final AttributeKey<String> PEER_SERVICE = stringKey("peer.service");
3635

3736
// Enum definitions
3837

semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/RpcIncubatingAttributes.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -213,16 +213,14 @@ public final class RpcIncubatingAttributes {
213213
* @deprecated Value should be included in {@code rpc.method} which is expected to be a
214214
* fully-qualified name.
215215
*/
216-
@Deprecated
217-
public static final AttributeKey<String> RPC_SERVICE = stringKey("rpc.service");
216+
@Deprecated public static final AttributeKey<String> RPC_SERVICE = stringKey("rpc.service");
218217

219218
/**
220219
* Deprecated, use {@code rpc.system.name} attribute instead.
221220
*
222221
* @deprecated Replaced by {@code rpc.system.name}.
223222
*/
224-
@Deprecated
225-
public static final AttributeKey<String> RPC_SYSTEM = stringKey("rpc.system");
223+
@Deprecated public static final AttributeKey<String> RPC_SYSTEM = stringKey("rpc.system");
226224

227225
/**
228226
* The Remote Procedure Call (RPC) system.

semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/ServiceIncubatingAttributes.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@ public final class ServiceIncubatingAttributes {
6464
* @deprecated deprecated in favor of stable {@link
6565
* io.opentelemetry.semconv.ServiceAttributes#SERVICE_NAME} attribute.
6666
*/
67-
@Deprecated
68-
public static final AttributeKey<String> SERVICE_NAME = stringKey("service.name");
67+
@Deprecated public static final AttributeKey<String> SERVICE_NAME = stringKey("service.name");
6968

7069
/**
7170
* A namespace for {@code service.name}.

0 commit comments

Comments
 (0)