File: no-android.patch

package info (click to toggle)
easymock 3.2%2Bds-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,324 kB
  • ctags: 2,320
  • sloc: java: 12,656; xml: 220; makefile: 48
file content (25 lines) | stat: -rw-r--r-- 884 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Markus Koschany <apo@gambaru.de>
Date: Wed, 13 Nov 2013 17:39:25 +0100
Subject: no android

---
 src/org/easymock/internal/MocksControl.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/org/easymock/internal/MocksControl.java b/src/org/easymock/internal/MocksControl.java
index e709dc4..579a570 100644
--- a/src/org/easymock/internal/MocksControl.java
+++ b/src/org/easymock/internal/MocksControl.java
@@ -138,9 +138,9 @@ public class MocksControl implements IMocksControl, IExpectationSetters<Object>,
         }
 
         // ///CLOVER:OFF
-        if (AndroidSupport.isAndroid()) {
-            return classProxyFactory = new AndroidClassProxyFactory();
-        }
+        // if (AndroidSupport.isAndroid()) {
+        //     return classProxyFactory = new AndroidClassProxyFactory();
+        // }
         // ///CLOVER:ON
 
         try {