mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 22:30:54 +01:00
[PR #801] [MERGED] Rename JavaCodegenOptions to JavaCodeGeneratorOptions #744
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/apple/pkl/pull/801
Author: @odenix
Created: 11/12/2024
Status: ✅ Merged
Merged: 11/14/2024
Merged by: @bioball
Base:
main← Head:java-codegen-rename📝 Commits (2)
ff4b41fRename JavaCodegenOptions to JavaCodeGeneratorOptions2088ed8Deprecate CliJavaCodeGeneratorOptions.toJavaCodegenOptions()📊 Changes
4 files changed (+22 additions, -13 deletions)
View changed files
📝
pkl-codegen-java/src/main/kotlin/org/pkl/codegen/java/CliJavaCodeGenerator.kt(+1 -1)📝
pkl-codegen-java/src/main/kotlin/org/pkl/codegen/java/CliJavaCodeGeneratorOptions.kt(+6 -2)📝
pkl-codegen-java/src/main/kotlin/org/pkl/codegen/java/JavaCodeGenerator.kt(+5 -2)📝
pkl-codegen-java/src/test/kotlin/org/pkl/codegen/java/JavaCodeGeneratorTest.kt(+10 -8)📄 Description
The new name is consistent with existing names
JavaCodeGeneratorandCliJavaCodeGeneratorOptions.Backward compatibility is ensured by turning
JavaCodegenOptionsinto a (deprecated) type alias.Second commit: Deprecate
CliJavaCodeGeneratorOptions.toJavaCodegenOptions()I suspect this method was a public API by accident.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.