[jmock] 15/48: * Update patch
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Mon Sep 4 09:56:33 UTC 2017
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository jmock.
commit 19d211b3188c30a8375c8c7d446551f29ae58345
Author: Ludovic Claude <ludovic.claude at laposte.net>
Date: Tue Jul 14 02:13:31 2009 +0000
* Update patch
---
debian/patches/code.patch | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/debian/patches/code.patch b/debian/patches/code.patch
index efbb0cb..c402eae 100644
--- a/debian/patches/code.patch
+++ b/debian/patches/code.patch
@@ -1,12 +1,14 @@
--- a/core/src/test/jmock/core/testsupport/MethodFactory.java
+++ b/core/src/test/jmock/core/testsupport/MethodFactory.java
-@@ -27,12 +27,12 @@
+@@ -27,12 +27,13 @@
{
protected Class findClass( String interfaceName ) {
ClassWriter writer = new ClassWriter(true);
-
+- writer.visit(Constants.ACC_PUBLIC | Constants.ACC_INTERFACE,
+
- writer.visit(Constants.ACC_PUBLIC | Constants.ACC_INTERFACE,
++ int flags = Constants.ACC_PUBLIC | Constants.ACC_INTERFACE;
++ writer.visit(flags,
nameToClassFormat(interfaceName),
"java/lang/Object",
- null, /* interfaces */
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jmock.git
More information about the pkg-java-commits
mailing list