Skip to content

Commit

Permalink
-Add missing Jakarta EE 11 constant
Browse files Browse the repository at this point in the history
  • Loading branch information
pepness committed Jan 23, 2025
1 parent 94c0b0f commit 951fc6d
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 951fc6d

Please sign in to comment.