mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
Sonar's fixes
This commit is contained in:
parent
f572ace420
commit
bce01ce053
6 changed files with 703 additions and 714 deletions
|
|
@ -848,7 +848,7 @@ public class DownloadPicturesService extends DefaultBoundedRangeModel implements
|
|||
}
|
||||
|
||||
// can save result
|
||||
if (isDownloadOK & httpConn != null) {
|
||||
if (isDownloadOK && httpConn != null) {
|
||||
// save data to temp
|
||||
try (InputStream in = new BufferedInputStream(httpConn.getInputStream());
|
||||
OutputStream tfileout = new TFileOutputStream(fileTempImage);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue