Skip to content

Commit 78c9f73

Browse files
committed
Fix compilation after rebase
1 parent 54d8132 commit 78c9f73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utbot-framework/src/main/kotlin/org/utbot/framework/codegen/tree/CgClassFieldManager.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,9 @@ class CgPersistenceContextFieldsManager private constructor(
162162
?.let { persistenceContextClassId -> CgPersistenceContextFieldsManager(context, persistenceContextClassId) }
163163
}
164164

165-
override fun constructFieldsForVariable(model: UtModel, modelVariable: CgValue): CgValue {
165+
override fun constructFieldsForVariable(model: UtModel, modelVariable: CgValue) {
166166
return when(model) {
167-
is UtSpringEntityManagerModel -> modelVariable
167+
is UtSpringEntityManagerModel -> {}
168168
else -> error("Trying to use @PersistenceContext for model $model but it is not appropriate")
169169
}
170170
}

0 commit comments

Comments
 (0)