Skip to content

Commit 7c2b7cc

Browse files
committed
spotless
1 parent 7387e4c commit 7c2b7cc

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

  • dynamic-control/src/main/java/io/opentelemetry/contrib/dynamic/policy

dynamic-control/src/main/java/io/opentelemetry/contrib/dynamic/policy/PolicyStore.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,11 @@ private static Map<PolicyKey, TelemetryPolicy> normalizedPolicyMap(
124124
return normalized;
125125
}
126126

127-
private static PolicyKey policyKey(TelemetryPolicy policy) {
128-
TelemetryPolicyIdentity identity =
129-
Objects.requireNonNull(policy.getIdentity(), "policy identity cannot be null");
130-
return new PolicyKey(policy.getType(), identity.getId());
131-
}
127+
private static PolicyKey policyKey(TelemetryPolicy policy) {
128+
TelemetryPolicyIdentity identity =
129+
Objects.requireNonNull(policy.getIdentity(), "policy identity cannot be null");
130+
return new PolicyKey(policy.getType(), identity.getId());
131+
}
132132

133133
private static void notifyImplementer(
134134
RegisteredImplementer registration, List<TelemetryPolicy> policiesSnapshot, long version) {

0 commit comments

Comments
 (0)