Skip to content

Commit cddd946

Browse files
committed
fix english in some comments/docstrings
1 parent dc4064f commit cddd946

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

recipes/android/src/java.pyx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)