Skip to content

Commit 94256b4

Browse files
committed
fix String litteral as well
Signed-off-by: Olivier Lamy <[email protected]>
1 parent 70e2a29 commit 94256b4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/org/eclipse/jetty/toolchain/modifysources/ModifyEE9ToEE8.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,9 @@ public Visitable visit(StringLiteralExpr n, Void arg) {
346346
if(StringUtils.contains(n.getValue(), "jakarta")) {
347347
n.setString(StringUtils.replace(n.getValue(), "jakarta", "javax"));
348348
}
349+
if(StringUtils.contains(n.getValue(), "Jakarta")) {
350+
n.setString(StringUtils.replace(n.getValue(), "Jakarta", "Javax"));
351+
}
349352
if(StringUtils.contains(n.getValue(), "jetty-ee9")) {
350353
n.setString(StringUtils.replace(n.getValue(), "jetty-ee9", "jetty-ee8"));
351354
}

0 commit comments

Comments
 (0)