File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
utbot-framework/src/main/kotlin/org/utbot/engine Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -239,7 +239,7 @@ class Traverser(
239
239
internal val typeResolver : TypeResolver ,
240
240
private val globalGraph : InterProceduralUnitGraph ,
241
241
private val mocker : Mocker ,
242
- private val applicationContext : StandardApplicationContext ? ,
242
+ private val applicationContext : StandardApplicationContext ,
243
243
) : UtContextInitializer() {
244
244
245
245
private val visitedStmts: MutableSet <Stmt > = mutableSetOf ()
@@ -1373,8 +1373,7 @@ class Traverser(
1373
1373
): ObjectValue {
1374
1374
touchAddress(addr)
1375
1375
1376
- // TODO: remove !! after PR-1889 merge, context cannot be null any more
1377
- val concreteClassId = applicationContext!! .replaceTypeIfNeeded(type)
1376
+ val concreteClassId = applicationContext.replaceTypeIfNeeded(type)
1378
1377
concreteClassId?.let {
1379
1378
val sootType = typeResolver.classOrDefault(it.canonicalName)
1380
1379
val typeStorage = typeResolver.constructTypeStorage(sootType, useConcreteType = false )
You can’t perform that action at this time.
0 commit comments