File 0001-Disable-android-support.patch of Package easymock

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
openSUSE Build Service is sponsored by