Skip to content

Commit 0a0018e

Browse files
committed
Remove unused field parameters from validation and processing classes
1 parent a4b354b commit 0a0018e

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/main/kotlin/org/domaframework/doma/intellij/common/validation/result/ValidationAnnotationOptionPrimitiveFieldResult.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ class ValidationAnnotationOptionPrimitiveFieldResult(
3131
private val fieldPath: String,
3232
private val primitiveFieldName: String,
3333
private val optionName: String,
34-
private val fieldType: String, // Keep for potential future use but not used in message
3534
) : ValidationResult(identify, null, shortName) {
3635
override fun setHighlight(
3736
highlightRange: TextRange,
@@ -52,4 +51,4 @@ class ValidationAnnotationOptionPrimitiveFieldResult(
5251
highlightRange,
5352
)
5453
}
55-
}
54+
}

src/main/kotlin/org/domaframework/doma/intellij/inspection/dao/processor/option/DaoAnnotationOptionParameterCheckProcessor.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ class DaoAnnotationOptionParameterCheckProcessor(
129129
fields.text.replace("\"", ""),
130130
field,
131131
optionName,
132-
field,
133132
).highlightElement(holder)
134133
hasError = true
135134
return@map

0 commit comments

Comments
 (0)