Skip to content

Commit e02fd11

Browse files
authored
Update recipe.ts
1 parent b361d99 commit e02fd11

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

rewrite-javascript/rewrite/src/recipe.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,6 @@ export abstract class Recipe {
8989

9090
async descriptor(): Promise<RecipeDescriptor> {
9191
const optionsRecord: Record<string, OptionDescriptor> = (this as any).constructor[OPTIONS_KEY] || {}
92-
// Java's `RecipeDescriptor.getXxx()` getters for collection-valued
93-
// fields are treated as never-null by callers (matching what
94-
// `Recipe.getDescriptor()` upholds locally). Always emit the
95-
// collection keys, even when empty, so Jackson on the Java side
96-
// never leaves them null.
9792
return {
9893
name: this.name,
9994
displayName: this.displayName,

0 commit comments

Comments
 (0)