Skip to content

Commit b5701ef

Browse files
committed
spotless
1 parent 05347ab commit b5701ef

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

  • internal-api/src/main/java/datadog/trace/api/git

internal-api/src/main/java/datadog/trace/api/git/GitInfo.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ public GitInfo(String repositoryURL, String branch, String tag, CommitInfo commi
2525
// GitInfo is reused across many traces, so create entries once and reuse them (see addTags)
2626
// null & empty values result in null entries which nop when added to a span
2727
this.repositoryEntry = TagMap.Entry.create(DDTags.INTERNAL_GIT_REPOSITORY_URL, repositoryURL);
28-
this.commitEntry = commit == null ? null : TagMap.Entry.create(DDTags.INTERNAL_GIT_COMMIT_SHA, commit.getSha());
28+
this.commitEntry =
29+
commit == null
30+
? null
31+
: TagMap.Entry.create(DDTags.INTERNAL_GIT_COMMIT_SHA, commit.getSha());
2932
}
3033

3134
public String getRepositoryURL() {

0 commit comments

Comments
 (0)