Skip to content

What is CorrectableCodeSmell? #3933

Answered by cortinico
pinkasey asked this question in Q&A
Discussion options

You must be logged in to vote

CorrectableCodeSmell is defined here:

/**
* Represents a code smell for that can be auto corrected.
*
* @see CodeSmell
*/
open class CorrectableCodeSmell(
issue: Issue,
entity: Entity,
message: String,
metrics: List<Metric> = listOf(),
references: List<Entity> = listOf(),
val autoCorrectEnabled: Boolean
) : CodeSmell(
issue,
entity,
message,
metrics,
references
) {
override fun toString(): String {
return "CorrectableCodeSmell(" +
"autoCorrectEnabled=$autoCorrectEnabled

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by schalkms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants