Skip to content

Commit

Permalink
Merged branch 'jetty-12.0.x' into 'jetty-12.1.x'.
Browse files Browse the repository at this point in the history
Signed-off-by: Simone Bordet <[email protected]>
  • Loading branch information
sbordet committed Jan 6, 2025
2 parents a2fe8c2 + 81ccd4b commit 28dc2a6
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,11 +201,6 @@ public interface Tracker<T>
@SuppressWarnings("unchecked")
public static <S> Tracker<S> noTracker()
{
class NoTracker implements Tracker<S>
{
private static final Tracker<?> INSTANCE = new NoTracker();
}

return (Tracker<S>)NoTracker.INSTANCE;
}

Expand Down Expand Up @@ -253,4 +248,9 @@ public default void terminated(Pool<T> pool, Collection<Entry<T>> entries)
{
}
}

private static class NoTracker<S> implements Tracker<S>
{
private static final Tracker<?> INSTANCE = new NoTracker<>();
}
}

0 comments on commit 28dc2a6

Please sign in to comment.