Home | History | Annotate | Download | only in dexmaker
      1 diff --git a/src/mockito/java/com/google/dexmaker/mockito/InvocationHandlerAdapter.java b/src/mockito/java/com/google/dexmaker/mockito/InvocationHandlerAdapter.java
      2 index 268f2fd..2775a63 100644
      3 --- a/src/mockito/java/com/google/dexmaker/mockito/InvocationHandlerAdapter.java
      4 +++ b/src/mockito/java/com/google/dexmaker/mockito/InvocationHandlerAdapter.java
      5 @@ -45,11 +45,6 @@ final class InvocationHandlerAdapter implements InvocationHandler {
      6              return System.identityHashCode(proxy);
      7          }
      8  
      9 -        if (args == null) {
     10 -            throw new IllegalArgumentException();
     11 -        }
     12 -
     13 -
     14          ProxiedMethod proxiedMethod = new ProxiedMethod(method);
     15          return handler.handle(new InvocationImpl(proxy, proxiedMethod, args, SequenceNumber.next(),
     16                  proxiedMethod));
     17