Skip to content

Commit b6d3178

Browse files
committed
Tmp
1 parent e9366b3 commit b6d3178

File tree

1 file changed

+2
-3
lines changed
  • utbot-framework/src/main/kotlin/org/utbot/engine

1 file changed

+2
-3
lines changed

utbot-framework/src/main/kotlin/org/utbot/engine/Traverser.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ class Traverser(
239239
internal val typeResolver: TypeResolver,
240240
private val globalGraph: InterProceduralUnitGraph,
241241
private val mocker: Mocker,
242-
private val applicationContext: StandardApplicationContext?,
242+
private val applicationContext: StandardApplicationContext,
243243
) : UtContextInitializer() {
244244

245245
private val visitedStmts: MutableSet<Stmt> = mutableSetOf()
@@ -1373,8 +1373,7 @@ class Traverser(
13731373
): ObjectValue {
13741374
touchAddress(addr)
13751375

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)
13781377
concreteClassId?.let {
13791378
val sootType = typeResolver.classOrDefault(it.canonicalName)
13801379
val typeStorage = typeResolver.constructTypeStorage(sootType, useConcreteType = false)

0 commit comments

Comments
 (0)