Skip to content

Commit 0daeeef

Browse files
committed
Minor fix
1 parent 1b9da06 commit 0daeeef

File tree

1 file changed

+1
-1
lines changed
  • utbot-framework/src/main/kotlin/org/utbot/framework/codegen/model/visitor

1 file changed

+1
-1
lines changed

utbot-framework/src/main/kotlin/org/utbot/framework/codegen/model/visitor/UtilMethods.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1285,7 +1285,7 @@ private fun getSingleAbstractMethod(language: CodegenLanguage) =
12851285
* @return a [java.lang.reflect.Method] for the single abstract method of the given functional interface `clazz`.
12861286
*/
12871287
private fun getSingleAbstractMethod(clazz: Class<*>): java.lang.reflect.Method {
1288-
val abstractMethods = clazz.methods.filter { Modifier.isAbstract(it.modifiers) }
1288+
val abstractMethods = clazz.methods.filter { java.lang.reflect.Modifier.isAbstract(it.modifiers) }
12891289
require(abstractMethods.isNotEmpty()) { "No abstract methods found in class: " + clazz.canonicalName }
12901290
require(abstractMethods.size <= 1) { "More than one abstract method found in class: " + clazz.canonicalName }
12911291
return abstractMethods[0]

0 commit comments

Comments
 (0)