mirror of
https://github.com/apache/struts.git
synced 2026-08-06 23:27:07 +00:00
fix compilation failures after merging master
This commit is contained in:
@@ -180,7 +180,7 @@ public class CspInterceptorTest extends StrutsInternalTestCase {
|
||||
ActionContext context = ActionContext.getContext()
|
||||
.withServletRequest(request)
|
||||
.withServletResponse(response)
|
||||
.withSession(new SessionMap<>(request))
|
||||
.withSession(new SessionMap(request))
|
||||
.bind();
|
||||
mai.setInvocationContext(context);
|
||||
session = request.getSession();
|
||||
|
||||
@@ -76,7 +76,7 @@ public class DWRValidator {
|
||||
requestParams = requestParams.withExtraParams(params);
|
||||
}
|
||||
Map<String, Object> requestMap = new RequestMap(req);
|
||||
Map<String, Object> session = new SessionMap<>(req);
|
||||
Map<String, Object> session = new SessionMap(req);
|
||||
Map<String, Object> application = new ApplicationMap(servletContext);
|
||||
Dispatcher du = Dispatcher.getInstance();
|
||||
Map<String, Object> ctx = du.createContextMap(requestMap,
|
||||
|
||||
Reference in New Issue
Block a user