Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rayokota committed Dec 19, 2023
1 parent 01cc37a commit b32455e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ public Collection<SubjectVersion> getAllVersionsById(int id) throws IOException,
ParsedSchema schema = e.getValue().get(id);
Map<ParsedSchema, Integer> schemaVersionMap = schemaToVersionCache.get(e.getKey());
if (schemaVersionMap != null) {
int version = schemaToVersionCache.get(e.getKey()).get(schema);
int version = schemaVersionMap.get(schema);
return Stream.of(new SubjectVersion(e.getKey(), version));
} else {
return Stream.empty();
Expand Down

0 comments on commit b32455e

Please sign in to comment.