Skip to content

Commit

Permalink
WICKET-6882 Migrate to Jakarta EE
Browse files Browse the repository at this point in the history
Remove temporary classes used for the migration from javax to jakarta

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
  • Loading branch information
martin-g committed Jan 10, 2024
1 parent 04347ba commit e3296fd
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 858 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ public void activateContexts(HttpServletRequest request)

// FIXME Wicket 10
currentRequest = null;// new LifecycleAwareRequest(new CdiUnitInitialListenerImpl(), new javax.servlet.http.HttpServletRequest(request));
lifecycle.requestInitialized(new javax.servlet.http.HttpServletRequest.Impl(currentRequest), null);
lifecycle.requestInitialized(currentRequest, null);
}

public void deactivateContexts()
{
lifecycle.requestDestroyed(new javax.servlet.http.HttpServletRequest.Impl(currentRequest));
lifecycle.requestDestroyed(currentRequest);
currentSession = currentRequest.getSession(false);
currentRequest = null;
}
Expand All @@ -93,7 +93,7 @@ public void destroy()

if (currentSession != null)
{
lifecycle.sessionDestroyed(new javax.servlet.http.HttpSession.Impl(currentSession));
lifecycle.sessionDestroyed(currentSession);
currentSession = null;
}
}
Expand Down
333 changes: 0 additions & 333 deletions wicket-util/src/main/java/javax/servlet/ServletContext.java

This file was deleted.

Loading

0 comments on commit e3296fd

Please sign in to comment.