File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -815,7 +815,7 @@ cdef class JavaMethod(object):
815815 < char * > self .definition)
816816
817817 if self .j_method == NULL :
818- raise JavaException(' Unable to found the method'
818+ raise JavaException(' Unable to find the method'
819819 ' {0} in {1}' .format(name, jc.__javaclass__))
820820
821821 cdef void resolve_static_method(self , JNIEnv * j_env, jclass j_cls, bytes name):
@@ -828,15 +828,15 @@ cdef class JavaMethod(object):
828828 < char * > self .definition)
829829
830830 if self .j_method == NULL :
831- raise JavaException(' Unable to found the method'
831+ raise JavaException(' Unable to find the method'
832832 ' {0}' .format(name))
833833
834834 def __call__ (self , *args ):
835835 # argument array to pass to the method
836836 cdef jvalue * j_args = NULL
837837 cdef list d_args = self .definition_args
838838 if len (args) != len (d_args):
839- raise JavaException(' Invalid call, number of argument mismatch' )
839+ raise JavaException(' Invalid call, number of arguments mismatch' )
840840
841841 try :
842842 # convert python argument if necessary
You can’t perform that action at this time.
0 commit comments