-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create StaticHttpContentFactory and other cleanups #9043
Create StaticHttpContentFactory and other cleanups #9043
Conversation
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
...y-core/jetty-http/src/main/java/org/eclipse/jetty/http/content/StaticHttpContentFactory.java
Outdated
Show resolved
Hide resolved
...y-core/jetty-http/src/main/java/org/eclipse/jetty/http/content/StaticHttpContentFactory.java
Outdated
Show resolved
Hide resolved
...y-core/jetty-http/src/main/java/org/eclipse/jetty/http/content/StaticHttpContentFactory.java
Outdated
Show resolved
Hide resolved
...y-core/jetty-http/src/main/java/org/eclipse/jetty/http/content/StaticHttpContentFactory.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
…httpcontentFactoryCleanup
Not sure whats going on here, all these failing tests pass for me locally and I can step though and everything looks normal. |
@lachlan-roberts something funny is going on with the Resource.getFileName() on CI. On a local run, I see ...
But on CI (with DEBUG enabled) I see ...
The CI run for But on the local run, the same If we look at the state of the
The type of resource is different, |
@lachlan-roberts I think I got a solution. The |
jetty-ee10/jetty-ee10-servlet/src/test/resources/jetty-logging.properties
Outdated
Show resolved
Hide resolved
...ee10/jetty-ee10-servlet/src/test/java/org/eclipse/jetty/ee10/servlet/DefaultServletTest.java
Outdated
Show resolved
Hide resolved
@@ -254,7 +258,7 @@ private String getInitParameter(String name, String... deprecated) | |||
for (String d : deprecated) | |||
{ | |||
value = super.getInitParameter(d); | |||
if (value != name) | |||
if (value != null) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a legit fix to the Deprecation warning.
@lachlan-roberts this PR is now green |
thanks @joakime, I will merge once I get an approved review |
StaticHttpContentFactory
for stylesheet.FileMappingHttpContentFactory
.