Class OptionDescriptionAssertions
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidassertNoDefaultRestatement(String optionKey, String formattedDescription, String documentationHome) Rejects the default-restatement forms that the cross-connector sweep found.
-
Method Details
-
assertNoDefaultRestatement
public static void assertNoDefaultRestatement(String optionKey, String formattedDescription, String documentationHome) Rejects the default-restatement forms that the cross-connector sweep found.Pub/Sub supplied the first two phrases through #778/#838:
Off by default:and twoDefaults to twice the effective flow-control ... limitdescriptions accumulated while every existing check stayed green. #1001 added two absent-value forms, and #1045 found the remaining eight in the sibling connectors. The list is a regression guard over those recorded forms, not a semantic parser for arbitrary prose. Keeping it here makes the five connector guards use one list while leaving their different option-discovery rules local.The caller formats the joined Flink description before this assertion. That keeps string-literal boundaries from hiding a phrase and keeps Flink's unannotated
HtmlFormatterout of this module's API-tier-audited main sources.- Parameters:
optionKey- the option whose description is checkedformattedDescription- the joined and formatted option descriptiondocumentationHome- where the option's default is documented
-