diff --git a/modules/java/generator/gen_java.py b/modules/java/generator/gen_java.py index f5e7aef94b..f93870ce05 100755 --- a/modules/java/generator/gen_java.py +++ b/modules/java/generator/gen_java.py @@ -1442,7 +1442,7 @@ JNIEXPORT $rtype JNICALL Java_org_opencv_${module}_${clazz}_$fname cvargs = ", ".join(cvargs), \ default = default, \ retval = retval, \ - namespace = ('using namespace ' + ci.namespace.replace('.', '::') + ';') if ci.namespace else '' + namespace = ('using namespace ' + ci.namespace.replace('.', '::') + ';') if ci.namespace else '' ) ) # processing args with default values @@ -1538,7 +1538,7 @@ JNIEXPORT void JNICALL Java_org_opencv_%(module)s_%(j_cls)s_delete ''' Check if class stores Ptr* instead of T* in nativeObj field ''' - return False + return False def smartWrap(self, name, fullname): '''