Skip to content

Commit c2895af

Browse files
committed
fix: remove redundant Long check
1 parent 3a52abc commit c2895af

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

sdk-platform-java/gax-java/gax/src/main/java/com/google/api/gax/tracing/ObservabilityUtils.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,6 @@ static Attributes toOtelAttributes(Map<String, Object> attributes) {
235235
attributesBuilder.put(k, (Long) v);
236236
} else if (v instanceof Integer) {
237237
attributesBuilder.put(k, (long) (Integer) v);
238-
} else if (v instanceof Long) {
239-
attributesBuilder.put(k, (Long) v);
240238
}
241239
});
242240
return attributesBuilder.build();

0 commit comments

Comments
 (0)