Skip to content

Commit

Permalink
Automatic code cleanup.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 601975296
Change-Id: I22b3550a62e0889f44e2bbb439d47c903588a3ba
  • Loading branch information
Googler authored and copybara-github committed Jan 27, 2024
1 parent db0ae9f commit ca72873
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ public class RepositoryResolvedEvent implements ResolvedEvent {

private ImmutableMap.Builder<String, Object> repositoryBuilder = ImmutableMap.builder();

private String directoryDigest;
private final Path outputDirectory;

private final String name;
Expand Down Expand Up @@ -169,7 +168,6 @@ private synchronized void finalizeResolvedInformation(XattrProvider xattrProvide
// Digest not available, but we still have to report that a repository rule
// was invoked. So we can do nothing, but ignore the event.
}
this.directoryDigest = digest;
if (repositoryBuilder != null) {
resolvedInformationBuilder.put(
ResolvedFileValue.REPOSITORIES,
Expand All @@ -195,11 +193,6 @@ public String getName() {
return name;
}

public String getDirectoryDigest(XattrProvider xattrProvider) {
finalizeResolvedInformation(xattrProvider);
return directoryDigest;
}

/**
* True, if the return value of the repository rule contained new information with respect to the
* way it was called.
Expand Down

0 comments on commit ca72873

Please sign in to comment.