Skip to content

Commit a6d2903

Browse files
committed
fix grammar in comments
1 parent cddd946 commit a6d2903

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

recipes/android/src/java.pyx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ cdef void populate_args(JNIEnv *j_env, list definition_args, jvalue *j_args, arg
299299
j_args[index].l = convert_pyarray_to_java(
300300
j_env, argtype[1:], py_arg)
301301

302+
302303
cdef jobject convert_pyarray_to_java(JNIEnv *j_env, definition, pyarray):
303304
cdef jobject ret = NULL
304305
cdef int array_size = len(pyarray)
@@ -509,7 +510,7 @@ cdef class JavaClass(object):
509510
self.resolve_fields()
510511

511512
cdef void call_constructor(self, args):
512-
# the goal is to found the class constructor, and call it with the
513+
# the goal is to find the class constructor, and call it with the
513514
# correct arguments.
514515
cdef jvalue *j_args = NULL
515516
cdef jmethodID constructor = NULL
@@ -536,7 +537,7 @@ cdef class JavaClass(object):
536537
constructor = self.j_env[0].GetMethodID(
537538
self.j_env, self.j_cls, '<init>', <char *><bytes>definition)
538539
if constructor == NULL:
539-
raise JavaException('Unable to found the constructor'
540+
raise JavaException('Unable to find the constructor'
540541
' for {0}'.format(self.__javaclass__))
541542

542543
# create the object

0 commit comments

Comments
 (0)