aws-ecr-repository/src/main/java/software/amazon/ecr/repository/ReadHandler.java [59:66]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private static Map<String, Object> deserializePolicyText(final String policyText) {
        if (policyText == null) return null;
        try {
            return Translator.MAPPER.readValue(policyText, new TypeReference<HashMap<String,Object>>() {});
        } catch (final IOException e) {
            throw new CfnInternalFailureException(e);
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



aws-ecr-registrypolicy/src/main/java/software/amazon/ecr/registrypolicy/Translator.java [107:114]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  private static Map<String, Object> deserializePolicyText(final String policyText) {
    if (policyText == null) return null;
    try {
      return Translator.MAPPER.readValue(policyText, new TypeReference<HashMap<String,Object>>() {});
    } catch (final IOException e) {
      throw new CfnInternalFailureException(e);
    }
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



