From 12c42ac14558d05556c2168b1f640600de3ad424 Mon Sep 17 00:00:00 2001 From: Jan Starzynski Date: Wed, 17 Jul 2013 18:41:54 +0200 Subject: [PATCH] fixed strings in n1_dims(): n1_dcols() -> n1_dims() --- modules/java/generator/src/cpp/Mat.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/java/generator/src/cpp/Mat.cpp b/modules/java/generator/src/cpp/Mat.cpp index a869900..cc60843 100644 --- a/modules/java/generator/src/cpp/Mat.cpp +++ b/modules/java/generator/src/cpp/Mat.cpp @@ -540,15 +540,15 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1dims return _retval_; } catch(cv::Exception e) { - LOGD("Mat::n_1cols() catched cv::Exception: %s", e.what()); + LOGD("Mat::n_1dims() catched cv::Exception: %s", e.what()); jclass je = env->FindClass("org/opencv/core/CvException"); if(!je) je = env->FindClass("java/lang/Exception"); env->ThrowNew(je, e.what()); return 0; } catch (...) { - LOGD("Mat::n_1cols() catched unknown exception (...)"); + LOGD("Mat::n_1dims() catched unknown exception (...)"); jclass je = env->FindClass("java/lang/Exception"); - env->ThrowNew(je, "Unknown exception in JNI code {Mat::n_1cols()}"); + env->ThrowNew(je, "Unknown exception in JNI code {Mat::n_1dims()}"); return 0; } } -- 2.7.4