Skip to content

Commit

Permalink
fixed method getObjectTypeListByClassType in schemaRegistry
Browse files Browse the repository at this point in the history
  • Loading branch information
domko17 committed Dec 18, 2023
1 parent 8107453 commit 843b0c5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1794,7 +1794,7 @@ public List<String> getObjectTypeListByClassType(@NotNull Class<?> typeClass) {
List<String> objectTypes = new ArrayList<>();
TypeDefinition typeDefinition = findTypeDefinitionByCompileTimeClass(typeClass, TypeDefinition.class);

if (typeDefinition != null ) return null;
if (typeDefinition == null ) return null;

for (TypeDefinition td : typeDefinition.getStaticSubTypes()) {
objectTypes.add(td.getDisplayName());
Expand Down

0 comments on commit 843b0c5

Please sign in to comment.