diff --git a/instructions/java-17-to-java-21-upgrade.md b/instructions/java-17-to-java-21-upgrade.md index 160d4c0..0c72f4e 100644 --- a/instructions/java-17-to-java-21-upgrade.md +++ b/instructions/java-17-to-java-21-upgrade.md @@ -1,4 +1,9 @@ -# GitHub Copilot Instructions: Java 17 to Java 21 Upgrade Guide +--- +applyTo: ['*'] +description: "Comprehensive best practices for adopting new Java 21 features since the release of Java 17." +--- + +# Java 17 to Java 21 Upgrade Guide These instructions help GitHub Copilot assist developers in upgrading Java projects from JDK 17 to JDK 21, focusing on new language features, API changes, and best practices. @@ -456,4 +461,4 @@ When reviewing code for Java 21 upgrade: - Validate UTF-8 default behavior across different platforms - Test preview features thoroughly before production use -Remember to enable preview features only when specifically needed and test thoroughly in staging environments before deploying to production. \ No newline at end of file +Remember to enable preview features only when specifically needed and test thoroughly in staging environments before deploying to production. diff --git a/instructions/java-21-to-java-25-upgrade.md b/instructions/java-21-to-java-25-upgrade.md index 3551133..36ecbd7 100644 --- a/instructions/java-21-to-java-25-upgrade.md +++ b/instructions/java-21-to-java-25-upgrade.md @@ -3,7 +3,7 @@ applyTo: ['*'] description: "Comprehensive best practices for adopting new Java 25 features since the release of Java 21." --- -# GitHub Copilot Instructions: Java 21 to Java 25 Upgrade Guide +# Java 21 to Java 25 Upgrade Guide These instructions help GitHub Copilot assist developers in upgrading Java projects from JDK 21 to JDK 25, focusing on new language features, API changes, and best practices.