作者 RuoYi

修正注释

@@ -38,12 +38,9 @@ public class RepeatedlyRequestWrapper extends HttpServletRequestWrapper @@ -38,12 +38,9 @@ public class RepeatedlyRequestWrapper extends HttpServletRequestWrapper
38 @Override 38 @Override
39 public ServletInputStream getInputStream() throws IOException 39 public ServletInputStream getInputStream() throws IOException
40 { 40 {
41 -  
42 final ByteArrayInputStream bais = new ByteArrayInputStream(body); 41 final ByteArrayInputStream bais = new ByteArrayInputStream(body);
43 -  
44 return new ServletInputStream() 42 return new ServletInputStream()
45 { 43 {
46 -  
47 @Override 44 @Override
48 public int read() throws IOException 45 public int read() throws IOException
49 { 46 {
@@ -51,6 +48,12 @@ public class RepeatedlyRequestWrapper extends HttpServletRequestWrapper @@ -51,6 +48,12 @@ public class RepeatedlyRequestWrapper extends HttpServletRequestWrapper
51 } 48 }
52 49
53 @Override 50 @Override
  51 + public int available() throws IOException
  52 + {
  53 + return body.length;
  54 + }
  55 +
  56 + @Override
54 public boolean isFinished() 57 public boolean isFinished()
55 { 58 {
56 return false; 59 return false;
@@ -67,11 +70,6 @@ public class RepeatedlyRequestWrapper extends HttpServletRequestWrapper @@ -67,11 +70,6 @@ public class RepeatedlyRequestWrapper extends HttpServletRequestWrapper
67 { 70 {
68 71
69 } 72 }
70 -  
71 - @Override  
72 - public int available() throws IOException {  
73 - return body.length;  
74 - }  
75 }; 73 };
76 } 74 }
77 } 75 }
@@ -312,7 +312,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils @@ -312,7 +312,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
312 } 312 }
313 313
314 /** 314 /**
315 - * 下划线转驼峰命名 315 + * 驼峰转下划线命名
316 */ 316 */
317 public static String toUnderScoreCase(String str) 317 public static String toUnderScoreCase(String str)
318 { 318 {
@@ -22,7 +22,7 @@ public class EscapeUtil @@ -22,7 +22,7 @@ public class EscapeUtil
22 22
23 // special HTML characters 23 // special HTML characters
24 TEXT['\''] = "'".toCharArray(); // 单引号 24 TEXT['\''] = "'".toCharArray(); // 单引号
25 - TEXT['"'] = """.toCharArray(); // 引号 25 + TEXT['"'] = """.toCharArray(); // 引号
26 TEXT['&'] = "&".toCharArray(); // &符 26 TEXT['&'] = "&".toCharArray(); // &符
27 TEXT['<'] = "&#60;".toCharArray(); // 小于号 27 TEXT['<'] = "&#60;".toCharArray(); // 小于号
28 TEXT['>'] = "&#62;".toCharArray(); // 大于号 28 TEXT['>'] = "&#62;".toCharArray(); // 大于号