Skip to content

Commit

Permalink
Fix constant name and API contract
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-dingemans committed Oct 13, 2024
1 parent e99aba9 commit 9c1ed86
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions ktlint-ruleset-standard/api/ktlint-ruleset-standard.api
Original file line number Diff line number Diff line change
Expand Up @@ -987,6 +987,16 @@ public final class com/pinterest/ktlint/ruleset/standard/rules/ValueParameterCom
public static final fun getVALUE_PARAMETER_COMMENT_RULE_ID ()Lcom/pinterest/ktlint/rule/engine/core/api/RuleId;
}

public final class com/pinterest/ktlint/ruleset/standard/rules/WhenEntryBracing : com/pinterest/ktlint/ruleset/standard/StandardRule, com/pinterest/ktlint/rule/engine/core/api/Rule$Experimental, com/pinterest/ktlint/rule/engine/core/api/Rule$OfficialCodeStyle, com/pinterest/ktlint/rule/engine/core/api/RuleAutocorrectApproveHandler {
public fun <init> ()V
public fun beforeFirstNode (Lcom/pinterest/ktlint/rule/engine/core/api/editorconfig/EditorConfig;)V
public fun beforeVisitChildNodes (Lorg/jetbrains/kotlin/com/intellij/lang/ASTNode;Lkotlin/jvm/functions/Function3;)V
}

public final class com/pinterest/ktlint/ruleset/standard/rules/WhenEntryBracingKt {
public static final fun getWHEN_CONDITION_BRACING_RULE_ID ()Lcom/pinterest/ktlint/rule/engine/core/api/RuleId;
}

public final class com/pinterest/ktlint/ruleset/standard/rules/WrappingRule : com/pinterest/ktlint/ruleset/standard/StandardRule {
public fun <init> ()V
public fun afterVisitChildNodes (Lorg/jetbrains/kotlin/com/intellij/lang/ASTNode;Lkotlin/jvm/functions/Function3;)V
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,4 +166,4 @@ public class WhenEntryBracing :
?.node
}

public val WHEN_CONDITION_BRACING_RULE_ID: RuleId = WhenEntryBracing().ruleId
public val WHEN_ENTRY_BRACING_RULE_ID: RuleId = WhenEntryBracing().ruleId

0 comments on commit 9c1ed86

Please sign in to comment.