Skip to content

Commit 86dcea2

Browse files
committed
remove a check
1 parent 20da923 commit 86dcea2

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

utbot-framework/src/main/kotlin/org/utbot/framework/assemble/AssembleModelGenerator.kt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -171,12 +171,6 @@ class AssembleModelGenerator(private val packageName: String) {
171171
private fun assembleModel(utModel: UtModel): UtModel {
172172
val collectedCallChain = callChain.toMutableList()
173173

174-
// We cannot create an assemble model for a class located out of
175-
// the package that generator is instantiated for
176-
if (utModel.classId.packageName.startsWith(packageName)) {
177-
return utModel
178-
}
179-
180174
// We cannot create an assemble model for an anonymous class instance
181175
if (utModel.classId.isAnonymous) {
182176
return utModel

0 commit comments

Comments
 (0)