From c1b0aa9fb91863640e9abab80dd84e43f2b72931 Mon Sep 17 00:00:00 2001 From: GAE Java Team Date: Thu, 16 Nov 2023 12:13:15 -0800 Subject: [PATCH] Fix broken internal API Explorer tests. PiperOrigin-RevId: 583123629 Change-Id: I42b5b747bb3b12295a207de96e150471e3c04271 --- .../main/java/com/google/appengine/tools/admin/Application.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tools_api/src/main/java/com/google/appengine/tools/admin/Application.java b/lib/tools_api/src/main/java/com/google/appengine/tools/admin/Application.java index 3c52937e..3742b3c8 100644 --- a/lib/tools_api/src/main/java/com/google/appengine/tools/admin/Application.java +++ b/lib/tools_api/src/main/java/com/google/appengine/tools/admin/Application.java @@ -968,7 +968,7 @@ private File populateStagingDirectory( statusUpdate("Warning: See https://cloud.google.com/appengine/docs/flexible/java/upgrading"); } - boolean isServlet31OrAbove = !"2.5".equals(servletVersion); + boolean isServlet31OrAbove = servletVersion != null && !"2.5".equals(servletVersion); // Do not create quickstart for Java7 standardapps, even is Servlet 3.1 schema is used. // This behaviour is compatible with what was there before supporting Java8, we just now print // a warning.