easymock/0001-Disable-android-support.patch
Petr Šabata 3dac62346f RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/easymock#fe88f72a6852263b6f561c7b6c184da8437c0652
2020-10-14 23:55:31 +02:00

30 lines
1004 B
Diff

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