mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-01-24 06:48:10 -05:00
Remove useless null check
This commit is contained in:
@@ -123,14 +123,14 @@ class BarcodeImageWriterTask extends AsyncTask<Void, Void, Bitmap>
|
||||
|
||||
for (int y = 0; y < bitMatrixHeight; y++)
|
||||
{
|
||||
if(enclosingRectangle != null && (y < top || y >= bottom))
|
||||
if(y < top || y >= bottom)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
int offset = y * bitMatrixWidth;
|
||||
for (int x = 0; x < bitMatrixWidth; x++)
|
||||
{
|
||||
if(enclosingRectangle != null && (x < left || x >= right))
|
||||
if(x < left || x >= right)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
@@ -197,4 +197,4 @@ class BarcodeImageWriterTask extends AsyncTask<Void, Void, Bitmap>
|
||||
imageView.setVisibility(View.GONE);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user