Commit 84596bff authored by Moshe's avatar Moshe

Bitwise "and false"

Bitwise "and false" is always false.
parent e3a6d749
...@@ -351,7 +351,7 @@ class AsyncServiceHelper ...@@ -351,7 +351,7 @@ class AsyncServiceHelper
{ {
Log.d(TAG, "Cannot load library \"" + AbsPath + "\""); Log.d(TAG, "Cannot load library \"" + AbsPath + "\"");
e.printStackTrace(); e.printStackTrace();
result &= false; result = false;
} }
return result; return result;
...@@ -377,7 +377,7 @@ class AsyncServiceHelper ...@@ -377,7 +377,7 @@ class AsyncServiceHelper
{ {
// If the dependencies list is not defined or empty. // If the dependencies list is not defined or empty.
String AbsLibraryPath = Path + File.separator + "libopencv_java3.so"; String AbsLibraryPath = Path + File.separator + "libopencv_java3.so";
result &= loadLibrary(AbsLibraryPath); result = loadLibrary(AbsLibraryPath);
} }
return result; return result;
......
...@@ -68,7 +68,7 @@ class StaticHelper { ...@@ -68,7 +68,7 @@ class StaticHelper {
{ {
Log.d(TAG, "Cannot load library \"" + Name + "\""); Log.d(TAG, "Cannot load library \"" + Name + "\"");
e.printStackTrace(); e.printStackTrace();
result &= false; result = false;
} }
return result; return result;
...@@ -92,7 +92,7 @@ class StaticHelper { ...@@ -92,7 +92,7 @@ class StaticHelper {
else else
{ {
// If dependencies list is not defined or empty. // If dependencies list is not defined or empty.
result &= loadLibrary("opencv_java3"); result = loadLibrary("opencv_java3");
} }
return result; return result;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment