Skip to content

Commit

Permalink
enableLegacyUriCompliance() should not be deprecated
Browse files Browse the repository at this point in the history
The Jetty team has said that this will be supported in the future
  • Loading branch information
Randgalt authored and wendigo committed Jun 18, 2024
1 parent 6da6490 commit 24d6b27
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 6 deletions.
1 change: 1 addition & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
- Add HTTP protocol version to client traces
- Improve request/response metrics accuracy and correctness
- Update Airbase to 157
- Remove deprecation notices/annotations from `enableLegacyUriCompliance()`

248

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@ public HttpServerBinder enableCaseSensitiveHeaderCache()
return this;
}

/**
* @deprecated this will be removed in the near future and is only intended as a stopgap
*/
@Deprecated(forRemoval = true)
public HttpServerBinder enableLegacyUriCompliance()
{
newOptionalBinder(binder, Key.get(Boolean.class, EnableLegacyUriCompliance.class)).setBinding().toInstance(true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@ public static Iterator<Boolean> enabledDisabled()
return ImmutableList.of(true, false).iterator();
}

@SuppressWarnings("removal")
@Test(dataProvider = "enabledDisabled")
public void testServer(boolean enableLegacyUriCompliance)
throws Exception
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ private void doTest(boolean legacyUriComplianceEnabled, Tester... testers)
}
}

@SuppressWarnings("removal")
private Injector startServer(boolean legacyUriComplianceEnabled)
{
return new Bootstrap(
Expand Down

0 comments on commit 24d6b27

Please sign in to comment.