Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
huan233usc committed Feb 4, 2025
1 parent d333b00 commit b67cae0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public class SnapshotHint {
private final Protocol protocol;
private final Metadata metadata;

/** Constructs a new SnapshotHint based on a CRCInfo*/
public static SnapshotHint fromCrcInfo(CRCInfo crcInfo) {
return new SnapshotHint(crcInfo.getVersion(), crcInfo.getProtocol(), crcInfo.getMetadata());
}
Expand Down

0 comments on commit b67cae0

Please sign in to comment.