Skip to content

Commit

Permalink
Update CoordinatedCommitsUtils.java
Browse files Browse the repository at this point in the history
  • Loading branch information
sumeet-db committed Sep 23, 2024
1 parent 0fd7e20 commit 67c3392
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,10 @@ public static Path commitDirPath(Path logPath) {

/**
* Retrieves the coordinator name from the provided abstract metadata.
* If no coordinator is set, an empty string is returned.
* If no coordinator is set, an empty optional is returned.
*
* @param metadata The abstract metadata from which to retrieve the coordinator name.
* @return The coordinator name if set, otherwise an empty string.
* @return The coordinator name if set, otherwise an empty optional.
*/
public static Optional<String> getCoordinatorName(AbstractMetadata metadata) {
String coordinator = metadata
Expand Down

0 comments on commit 67c3392

Please sign in to comment.