16 lines
805 B
Diff
16 lines
805 B
Diff
diff --git a/src/mockito/java/com/google/dexmaker/mockito/InvocationHandlerAdapter.java b/src/mockito/java/com/google/dexmaker/mockito/InvocationHandlerAdapter.java
|
|
index 268f2fd..2775a63 100644
|
|
--- a/src/mockito/java/com/google/dexmaker/mockito/InvocationHandlerAdapter.java
|
|
+++ b/src/mockito/java/com/google/dexmaker/mockito/InvocationHandlerAdapter.java
|
|
@@ -45,11 +45,6 @@ final class InvocationHandlerAdapter implements InvocationHandler {
|
|
return System.identityHashCode(proxy);
|
|
}
|
|
|
|
- if (args == null) {
|
|
- throw new IllegalArgumentException();
|
|
- }
|
|
-
|
|
-
|
|
ProxiedMethod proxiedMethod = new ProxiedMethod(method);
|
|
return handler.handle(new InvocationImpl(proxy, proxiedMethod, args, SequenceNumber.next(),
|
|
proxiedMethod));
|