Skip to content

Commit d4641a6

Browse files
committed
simpler
1 parent f82117e commit d4641a6

File tree

1 file changed

+1
-1
lines changed
  • openapi-processor-core/src/main/kotlin/io/openapiprocessor/core/converter

1 file changed

+1
-1
lines changed

openapi-processor-core/src/main/kotlin/io/openapiprocessor/core/converter/ApiOptions.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ class ApiOptions {
110110
val ApiOptions.resultStyle: ResultStyle
111111
get() {
112112
val matches = typeMappings
113-
.filterIsInstance(ResultStyleOptionMapping::class.java)
113+
.filterIsInstance<ResultStyleOptionMapping>()
114114

115115
if (matches.isEmpty())
116116
return ResultStyle.SUCCESS

0 commit comments

Comments
 (0)