[libcommons-fileupload-java] 05/06: Refreshed the patch
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Sat May 28 20:34:20 UTC 2016
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository libcommons-fileupload-java.
commit 4cf85450c7019f2e862187739e46ba7b30007d32
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Sat May 28 22:27:12 2016 +0200
Refreshed the patch
---
debian/changelog | 4 +-
.../001_update-tests-for-servlet3-api.patch | 152 ++++++++++-----------
2 files changed, 79 insertions(+), 77 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index ce259e3..da36111 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
-libcommons-fileupload-java (1.3.1-3) UNRELEASED; urgency=medium
+libcommons-fileupload-java (1.3.2-1) UNRELEASED; urgency=medium
* Team upload.
+ * New upstream release
+ - Refreshed the patch
* Build with the DH sequencer instead of CDBS
* Standards-Version updated to 3.9.8 (no changes)
* Use secure Vcs-* fields
diff --git a/debian/patches/001_update-tests-for-servlet3-api.patch b/debian/patches/001_update-tests-for-servlet3-api.patch
index fd99e7c..7ca5a79 100644
--- a/debian/patches/001_update-tests-for-servlet3-api.patch
+++ b/debian/patches/001_update-tests-for-servlet3-api.patch
@@ -4,80 +4,80 @@ Forwarded: not-needed
--- a/src/test/java/org/apache/commons/fileupload/MockHttpServletRequest.java
+++ b/src/test/java/org/apache/commons/fileupload/MockHttpServletRequest.java
@@ -22,15 +22,24 @@
- import java.io.InputStream;
- import java.io.UnsupportedEncodingException;
- import java.security.Principal;
-+import java.util.Collection;
- import java.util.Enumeration;
- import java.util.Locale;
- import java.util.Map;
-
-+import javax.servlet.AsyncContext;
-+import javax.servlet.DispatcherType;
- import javax.servlet.RequestDispatcher;
-+import javax.servlet.ServletContext;
-+import javax.servlet.ServletException;
- import javax.servlet.ServletInputStream;
-+import javax.servlet.ServletRequest;
-+import javax.servlet.ServletResponse;
- import javax.servlet.http.Cookie;
- import javax.servlet.http.HttpServletRequest;
-+import javax.servlet.http.HttpServletResponse;
- import javax.servlet.http.HttpSession;
-+import javax.servlet.http.Part;
-
- /**
- * @version $Id: MockHttpServletRequest.java 1565255 2014-02-06 13:49:17Z ggregory $
+ import java.io.InputStream;
+ import java.io.UnsupportedEncodingException;
+ import java.security.Principal;
++import java.util.Collection;
+ import java.util.Enumeration;
+ import java.util.Locale;
+ import java.util.Map;
+
++import javax.servlet.AsyncContext;
++import javax.servlet.DispatcherType;
+ import javax.servlet.RequestDispatcher;
++import javax.servlet.ServletContext;
++import javax.servlet.ServletException;
+ import javax.servlet.ServletInputStream;
++import javax.servlet.ServletRequest;
++import javax.servlet.ServletResponse;
+ import javax.servlet.http.Cookie;
+ import javax.servlet.http.HttpServletRequest;
++import javax.servlet.http.HttpServletResponse;
+ import javax.servlet.http.HttpSession;
++import javax.servlet.http.Part;
+
+ /**
+ * @version $Id: MockHttpServletRequest.java 1565255 2014-02-06 13:49:17Z ggregory $
@@ -485,6 +494,52 @@
- return null;
- }
-
-+ public boolean authenticate(HttpServletResponse response) throws IOException, ServletException {
-+ return false;
-+ }
-+
-+ public void login(String username, String password) throws ServletException {
-+ }
-+
-+ public void logout() throws ServletException {
-+ }
-+
-+ public Collection<Part> getParts() throws IOException, ServletException {
-+ return null;
-+ }
-+
-+ public Part getPart(String name) throws IOException, ServletException {
-+ return null;
-+ }
-+
-+ public ServletContext getServletContext() {
-+ return null;
-+ }
-+
-+ public AsyncContext startAsync() throws IllegalStateException {
-+ return null;
-+ }
-+
-+ public AsyncContext startAsync(ServletRequest servletRequest, ServletResponse servletResponse) throws IllegalStateException {
-+ return null;
-+ }
-+
-+ public boolean isAsyncStarted() {
-+ return false;
-+ }
-+
-+ public boolean isAsyncSupported() {
-+ return false;
-+ }
-+
-+ public AsyncContext getAsyncContext() {
-+ return null;
-+ }
-+
-+ public DispatcherType getDispatcherType() {
-+ return null;
-+ }
-+
- private static class MyServletInputStream
- extends javax.servlet.ServletInputStream {
-
+ return null;
+ }
+
++ public boolean authenticate(HttpServletResponse response) throws IOException, ServletException {
++ return false;
++ }
++
++ public void login(String username, String password) throws ServletException {
++ }
++
++ public void logout() throws ServletException {
++ }
++
++ public Collection<Part> getParts() throws IOException, ServletException {
++ return null;
++ }
++
++ public Part getPart(String name) throws IOException, ServletException {
++ return null;
++ }
++
++ public ServletContext getServletContext() {
++ return null;
++ }
++
++ public AsyncContext startAsync() throws IllegalStateException {
++ return null;
++ }
++
++ public AsyncContext startAsync(ServletRequest servletRequest, ServletResponse servletResponse) throws IllegalStateException {
++ return null;
++ }
++
++ public boolean isAsyncStarted() {
++ return false;
++ }
++
++ public boolean isAsyncSupported() {
++ return false;
++ }
++
++ public AsyncContext getAsyncContext() {
++ return null;
++ }
++
++ public DispatcherType getDispatcherType() {
++ return null;
++ }
++
+ private static class MyServletInputStream
+ extends javax.servlet.ServletInputStream {
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libcommons-fileupload-java.git
More information about the pkg-java-commits
mailing list