Skip to content

Commit ee35263

Browse files
committed
Merge pull request opencv#10537 from pnemonic78:master_false
2 parents e3a6d74 + 84596bf commit ee35263

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

modules/java/generator/src/java/android+AsyncServiceHelper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ private boolean loadLibrary(String AbsPath)
351351
{
352352
Log.d(TAG, "Cannot load library \"" + AbsPath + "\"");
353353
e.printStackTrace();
354-
result &= false;
354+
result = false;
355355
}
356356

357357
return result;
@@ -377,7 +377,7 @@ private boolean initOpenCVLibs(String Path, String Libs)
377377
{
378378
// If the dependencies list is not defined or empty.
379379
String AbsLibraryPath = Path + File.separator + "libopencv_java3.so";
380-
result &= loadLibrary(AbsLibraryPath);
380+
result = loadLibrary(AbsLibraryPath);
381381
}
382382

383383
return result;

modules/java/generator/src/java/android+StaticHelper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ private static boolean loadLibrary(String Name)
6868
{
6969
Log.d(TAG, "Cannot load library \"" + Name + "\"");
7070
e.printStackTrace();
71-
result &= false;
71+
result = false;
7272
}
7373

7474
return result;
@@ -92,7 +92,7 @@ private static boolean initOpenCVLibs(String Libs)
9292
else
9393
{
9494
// If dependencies list is not defined or empty.
95-
result &= loadLibrary("opencv_java3");
95+
result = loadLibrary("opencv_java3");
9696
}
9797

9898
return result;

0 commit comments

Comments
 (0)