package uk.gov.register.presentation;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;

@JsonPropertyOrder({"proof-identifier", "root-hash"})
public class RegisterProof {

    private static final String proofIdentifier = "merkle:sha-256";
    private final String rootHash;

    public RegisterProof(String rootHash) {
        this.rootHash = rootHash;
    }

    @SuppressWarnings("unused, used from template")
    @JsonProperty("proof-identifier")
    public String getProofIdentifier() {
        return proofIdentifier;
    }

    @SuppressWarnings("unused, used from template")
    @JsonProperty("root-hash")
    public String getRootHash() {
        return rootHash;
    }
}

@@ -451,37 +451,39 @@
 nused, used 
-from template
+as jsonproperty
 %22)%0A    @Json
@@ -631,21 +631,23 @@
 sed 
-from template
+as jsonproperty
 %22)%0A 

Use more accurate comment to suppress warning