We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54d8132 commit 78c9f73Copy full SHA for 78c9f73
utbot-framework/src/main/kotlin/org/utbot/framework/codegen/tree/CgClassFieldManager.kt
@@ -162,9 +162,9 @@ class CgPersistenceContextFieldsManager private constructor(
162
?.let { persistenceContextClassId -> CgPersistenceContextFieldsManager(context, persistenceContextClassId) }
163
}
164
165
- override fun constructFieldsForVariable(model: UtModel, modelVariable: CgValue): CgValue {
+ override fun constructFieldsForVariable(model: UtModel, modelVariable: CgValue) {
166
return when(model) {
167
- is UtSpringEntityManagerModel -> modelVariable
+ is UtSpringEntityManagerModel -> {}
168
else -> error("Trying to use @PersistenceContext for model $model but it is not appropriate")
169
170
0 commit comments