Skip to content

Commit

Permalink
use ALL_CAPS
Browse files Browse the repository at this point in the history
  • Loading branch information
ggershinsky committed Jul 24, 2023
1 parent 7e6e3a1 commit 83e239b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ class KeyMetadata implements EncryptionKeyMetadata, IndexedRecord {
private static final org.apache.avro.Schema AVRO_SCHEMA_V1 =
AvroSchemaUtil.convert(SCHEMA_V1, KeyMetadata.class.getCanonicalName());

private static final Map<Byte, Schema> schemaVersions = ImmutableMap.of(V1, SCHEMA_V1);
private static final Map<Byte, org.apache.avro.Schema> avroSchemaVersions =
private static final Map<Byte, Schema> SCHEMA_VERSIONS = ImmutableMap.of(V1, SCHEMA_V1);
private static final Map<Byte, org.apache.avro.Schema> AVRO_SCHEMA_VERSIONS =
ImmutableMap.of(V1, AVRO_SCHEMA_V1);

private static final KeyMetadataEncoder KEY_METADATA_ENCODER = new KeyMetadataEncoder(V1);
Expand All @@ -61,11 +61,11 @@ class KeyMetadata implements EncryptionKeyMetadata, IndexedRecord {
}

static Map<Byte, Schema> supportedSchemaVersions() {
return schemaVersions;
return SCHEMA_VERSIONS;
}

static Map<Byte, org.apache.avro.Schema> supportedAvroSchemaVersions() {
return avroSchemaVersions;
return AVRO_SCHEMA_VERSIONS;
}

@Override
Expand Down

0 comments on commit 83e239b

Please sign in to comment.