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
{
Log.d(TAG, "Cannot load library \"" + AbsPath + "\"");
e.printStackTrace();
result &= false;
result = false;
}
return result;
......@@ -377,7 +377,7 @@ class AsyncServiceHelper
{
// If the dependencies list is not defined or empty.
String AbsLibraryPath = Path + File.separator + "libopencv_java3.so";
result &= loadLibrary(AbsLibraryPath);
result = loadLibrary(AbsLibraryPath);
}
return result;
......
......@@ -68,7 +68,7 @@ class StaticHelper {
{
Log.d(TAG, "Cannot load library \"" + Name + "\"");
e.printStackTrace();
result &= false;
result = false;
}
return result;
......@@ -92,7 +92,7 @@ class StaticHelper {
else
{
// If dependencies list is not defined or empty.
result &= loadLibrary("opencv_java3");
result = loadLibrary("opencv_java3");
}
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