private boolean isBinaryMetadataDocumentKey( String key ) { return key.endsWith("-ref") && Algorithm.SHA_1.isHexadecimal(key.substring(0, 40)); // 40 hexadecimal characters long }
private boolean isBinaryMetadataDocumentKey( String key ) { return key.endsWith("-ref") && Algorithm.SHA_1.isHexadecimal(key.substring(0, 40)); // 40 hexadecimal characters long }