public void finishSnapshot() {
        for (String tokenId : image.tokens().keySet()) {
            if (!changes.containsKey(tokenId)) {
                // If the tokenId from the image did not appear in the snapshot, mark it as removed
                changes.put(tokenId, Optional.empty());

            }
        }
    }
Represents changes to delegation tokens in the metadata image.
metadata/src/main/java/org/apache/kafka/image/DelegationTokenDelta.java