Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,7 @@ public class AppEngineWebAppContext extends WebAppContext {
private final boolean ignoreContentLength;

// Map of deprecated package names to their replacements.
private static final Map<String, String> DEPRECATED_PACKAGE_NAMES = ImmutableMap.of(
"org.eclipse.jetty.servlets", "org.eclipse.jetty.ee10.servlets",
"org.eclipse.jetty.servlet", "org.eclipse.jetty.ee10.servlet"
);
private static final Map<String, String> DEPRECATED_PACKAGE_NAMES = ImmutableMap.of();

@Override
public boolean checkAlias(String path, Resource resource) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,10 @@ public class AppEngineWebAppContext extends WebAppContext {
// Map of deprecated package names to their replacements.
private static final Map<String, String> DEPRECATED_PACKAGE_NAMES = ImmutableMap.of(
"org.eclipse.jetty.servlets", "org.eclipse.jetty.ee8.servlets",
"org.eclipse.jetty.servlet", "org.eclipse.jetty.ee8.servlet"
"org.eclipse.jetty.servlet", "org.eclipse.jetty.ee8.servlet",
"com.google.apphosting.runtime.jetty9.NamedDefaultServlet", "com.google.apphosting.runtime.jetty.ee8.NamedDefaultServlet",
"com.google.apphosting.runtime.jetty9.NamedJspServlet", "com.google.apphosting.runtime.jetty.ee8.NamedJspServlet",
"com.google.apphosting.runtime.jetty9.ResourceFileServlet", "com.google.apphosting.runtime.jetty.ee8.ResourceFileServlet"
);

@Override
Expand Down
Loading