easymock/0001-Disable-android-support.patch

30 lines
1004 B
Diff
Raw Normal View History

2017-09-18 07:08:46 +00:00
From 57501046dc32012210433444543c513b20c5d517 Mon Sep 17 00:00:00 2001
2016-05-30 13:09:44 +00:00
From: Michael Simacek <msimacek@redhat.com>
Date: Mon, 30 May 2016 14:24:43 +0200
2017-09-18 07:08:46 +00:00
Subject: [PATCH 1/3] Disable android support
2016-05-30 13:09:44 +00:00
---
core/src/main/java/org/easymock/internal/MocksControl.java | 6 ------
1 file changed, 6 deletions(-)
diff --git a/core/src/main/java/org/easymock/internal/MocksControl.java b/core/src/main/java/org/easymock/internal/MocksControl.java
2017-09-18 07:08:46 +00:00
index fb2a5dc..356b1c4 100644
2016-05-30 13:09:44 +00:00
--- a/core/src/main/java/org/easymock/internal/MocksControl.java
+++ b/core/src/main/java/org/easymock/internal/MocksControl.java
2017-09-18 07:08:46 +00:00
@@ -147,12 +147,6 @@ public class MocksControl implements IMocksControl, IExpectationSetters<Object>,
2016-05-30 13:09:44 +00:00
return cached;
}
- // ///CLOVER:OFF
- if (AndroidSupport.isAndroid()) {
- return classProxyFactory = new AndroidClassProxyFactory();
- }
- // ///CLOVER:ON
-
return classProxyFactory = new ClassProxyFactory();
}
--
2017-09-18 07:08:46 +00:00
2.13.5
2016-05-30 13:09:44 +00:00