microsoft-azure-storage/src/com/microsoft/azure/storage/AccessCondition.java
private static String normalizeEtag(String inTag) {
        if (Utility.isNullOrEmpty(inTag) || inTag.equals("*")) {
            return inTag;
        }
        else if (inTag.startsWith("\"") && inTag.endsWith("\"")) {
            return inTag;
        }
        else {
            return String.format("\"%s\"", inTag);
        }
    }
private static String normalizeEtag(String inTag) {
        if (Utility.isNullOrEmpty(inTag) || inTag.equals("*")) {
            return inTag;
        }
        else if (inTag.startsWith("\"") && inTag.endsWith("\"")) {
            return inTag;
        }
        else {
            return String.format("\"%s\"", inTag);
        }
    }
private static String normalizeEtag ( String inTag ) { if ( Utility . isNullOrEmpty ( inTag ) || inTag . equals ( "*" ) ) { return inTag ; } else if ( inTag . startsWith ( "\"" ) && inTag . endsWith ( "\"" ) ) { return inTag ; } else { return String . format ( "\"%s\"" , inTag ) ; } }
Normalizes an ETag to be quoted, unless it is *.

@param inTag
The ETag to normalize.
@return The quoted ETag.
Normalizes an ETag to be quoted unless it is * .