Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HHH-16625 Restore Quarkus compatibility #6588

Merged
merged 2 commits into from
May 18, 2023
Merged

Conversation

dreab8
Copy link
Contributor

@dreab8 dreab8 commented May 18, 2023

Comment on lines +25 to +46
MetadataImpl newcopy = new MetadataImpl(
existingInstance.getUUID(),
existingInstance.getMetadataBuildingOptions(),
existingInstance.getEntityBindingMap(),
existingInstance.getComposites(),
existingInstance.getGenericComponentsMap(),
existingInstance.getMappedSuperclassMap(),
existingInstance.getCollectionBindingMap(),
existingInstance.getTypeDefinitionMap(),
existingInstance.getFilterDefinitions(),
existingInstance.getFetchProfileMap(),
existingInstance.getImports(),
existingInstance.getIdGeneratorDefinitionMap(),
existingInstance.getNamedQueryMap(),
existingInstance.getNamedNativeQueryMap(),
existingInstance.getNamedProcedureCallMap(),
existingInstance.getSqlResultSetMappingMap(),
existingInstance.getNamedEntityGraphs(),
existingInstance.getSqlFunctionMap(),
existingInstance.getDatabase(),
existingInstance.getBootstrapContext()
);

Check notice

Code scanning / CodeQL

Unread local variable Note

Variable 'MetadataImpl newcopy' is never read.
@dreab8 dreab8 merged commit 6748898 into hibernate:main May 18, 2023
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants