GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Merge pull request #459 from BeliefYou8/UAVStackXingshengliLLL · chinadeng/uavstack@c384157

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • com.creditease.uav.monitorframework/src/main/java/com/creditease/uav/util
    • TransformWrapperUtil.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎com.creditease.uav.monitorframework/src/main/java/com/creditease/uav/util/TransformWrapperUtil.java‎

Copy file name to clipboardExpand all lines: com.creditease.uav.monitorframework/src/main/java/com/creditease/uav/util/TransformWrapperUtil.java
+7-1Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,13 @@ public static HttpServletResponse moveWrapper(String resWrapperName, HttpServlet
3636

3737
if (!resWrapperName.equals(response.getClass().getName())) {
3838

39-
response = (HttpServletResponse) ReflectionHelper.getField(response.getClass(), response, "response");
39+
HttpServletResponse innerResponse = (HttpServletResponse) ReflectionHelper.getField(response.getClass(), response, "response");
40+
if (innerResponse == null) {
41+
return response;
42+
}
43+
else {
44+
response = innerResponse;
45+
}
4046
}
4147
else {
4248
return response;

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.