apache-commons-chain/commons-chain-1.2-servlet4.patch

40 lines
1.3 KiB
Diff

--- commons-chain-1.2-src/src/test/org/apache/commons/chain/web/servlet/MockServletContext.java 2018-12-21 16:19:54.260118710 +0100
+++ commons-chain-1.2-src/src/test/org/apache/commons/chain/web/servlet/MockServletContext.java 2018-12-21 16:47:39.768669784 +0100
@@ -299,7 +299,35 @@
}
public String getVirtualServerName() {
- throw new RuntimeException("Not implemented");
+ throw new RuntimeException("Not implemented.");
+ }
+
+ public void setRequestCharacterEncoding(String encoding) {
+ throw new RuntimeException("Not implemented.");
+ }
+
+ public String getRequestCharacterEncoding() {
+ throw new RuntimeException("Not implemented.");
+ }
+
+ public void setResponseCharacterEncoding(String encoding) {
+ throw new RuntimeException("Not implemented.");
+ }
+
+ public String getResponseCharacterEncoding() {
+ throw new RuntimeException("Not implemented.");
+ }
+
+ public void setSessionTimeout(int sessionTimeout) {
+ throw new RuntimeException("Not implemented.");
+ }
+
+ public int getSessionTimeout() {
+ throw new RuntimeException("Not implemented.");
+ }
+
+ public ServletRegistration.Dynamic addJspFile(String jspName, String jspFile) {
+ throw new RuntimeException("Not implemented.");
}
}