File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
kotlin-inject-compiler/core/src/main/kotlin/me/tatarka/inject/compiler Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -370,12 +370,14 @@ fun <E> qualifier(
370370 }
371371 }
372372
373- val qualifiers = (element?.annotationsAnnotatedWith(QUALIFIER .packageName, QUALIFIER .simpleName,).orEmpty() +
374- if (options.enableJavaxAnnotations) {
375- element?.annotationsAnnotatedWith(JAVAX_QUALIFIER .packageName, JAVAX_QUALIFIER .simpleName,).orEmpty()
376- } else {
377- emptySequence()
378- }).toList()
373+ val qualifiers = (
374+ element?.annotationsAnnotatedWith(QUALIFIER .packageName, QUALIFIER .simpleName).orEmpty() +
375+ if (options.enableJavaxAnnotations) {
376+ element?.annotationsAnnotatedWith(JAVAX_QUALIFIER .packageName, JAVAX_QUALIFIER .simpleName).orEmpty()
377+ } else {
378+ emptySequence()
379+ }
380+ ).toList()
379381
380382 val qualifiersIncludingType = (qualifiers + type.typeQualifierAnnotations().toList()).distinct()
381383 if (qualifiersIncludingType.size > 1 ) {
You can’t perform that action at this time.
0 commit comments