Skip to content

Commit

Permalink
Merge pull request #8182 from pepness/gf-jakartaee11
Browse files Browse the repository at this point in the history
Improve support for Jakarta EE 11
  • Loading branch information
ebarboni authored Jan 24, 2025
2 parents 3fa8212 + 951fc6d commit 340da06
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,12 @@ public final class J2EEVersion extends J2EEBaseVersion {
"10.0.0", 100000, // NOI18N
"10.0.0", 100000); // NOI18N

/** Represents Jakarta EE version 11.0.0
*/
public static final J2EEVersion JAKARTAEE_11_0 = new J2EEVersion(
"11.0.0", 110000, // NOI18N
"11.0.0", 110000); // NOI18N

/** -----------------------------------------------------------------------
* Implementation
*/
Expand Down Expand Up @@ -135,8 +141,10 @@ public static J2EEVersion getJ2EEVersion(String version) {
result = JAKARTAEE_9_0;
} else if(JAKARTAEE_9_1.toString().equals(version)) {
result = JAKARTAEE_9_1;
}else if(JAKARTAEE_10_0.toString().equals(version)) {
} else if(JAKARTAEE_10_0.toString().equals(version)) {
result = JAKARTAEE_10_0;
} else if(JAKARTAEE_11_0.toString().equals(version)) {
result = JAKARTAEE_11_0;
}

return result;
Expand Down

0 comments on commit 340da06

Please sign in to comment.