File tree 1 file changed +3
-3
lines changed
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):
815
815
< char * > self .definition)
816
816
817
817
if self .j_method == NULL :
818
- raise JavaException(' Unable to found the method'
818
+ raise JavaException(' Unable to find the method'
819
819
' {0} in {1}' .format(name, jc.__javaclass__))
820
820
821
821
cdef void resolve_static_method(self , JNIEnv * j_env, jclass j_cls, bytes name):
@@ -828,15 +828,15 @@ cdef class JavaMethod(object):
828
828
< char * > self .definition)
829
829
830
830
if self .j_method == NULL :
831
- raise JavaException(' Unable to found the method'
831
+ raise JavaException(' Unable to find the method'
832
832
' {0}' .format(name))
833
833
834
834
def __call__ (self , *args ):
835
835
# argument array to pass to the method
836
836
cdef jvalue * j_args = NULL
837
837
cdef list d_args = self .definition_args
838
838
if len (args) != len (d_args):
839
- raise JavaException(' Invalid call, number of argument mismatch' )
839
+ raise JavaException(' Invalid call, number of arguments mismatch' )
840
840
841
841
try :
842
842
# convert python argument if necessary
You can’t perform that action at this time.
0 commit comments