企业微信会话存档获取媒体数据,添加传入lambda函数的方法来遍历媒体数据分片。 - #2858
Conversation
| FileOutputStream outputStream = new FileOutputStream(targetFile, true); | ||
| outputStream.write(i); | ||
| outputStream.close(); | ||
| } catch (Exception e) { |
There was a problem hiding this comment.
RESOURCE_LEAK: resource of type java.io.FileOutputStream acquired to outputStream by call to FileOutputStream(...) at line 188 is not released after line 191.
Note: potential exception at line 189
ℹ️ Learn about @sonatype-lift commands
You can reply with the following commands. For example, reply with @sonatype-lift ignoreall to leave out all findings.
| Command | Usage |
|---|---|
@sonatype-lift ignore | Leave out the above finding from this PR |
@sonatype-lift ignoreall | Leave out all the existing findings from this PR |
@sonatype-lift exclude <file|issue|path|tool> | Exclude specified file|issue|path|tool from Lift findings by updating your config.toml file |
Note: When talking to LiftBot, you need to refresh the page to see its response.
Click here to add LiftBot to another repo.
Was this a good recommendation?
[ 🙁 Not relevant ] - [ 😕 Won't fix ] - [ 😑 Not critical, will fix ] - [ 🙂 Critical, will fix ] - [ 😊 Critical, fixing now ]
Uh oh!
There was an error while loading. Please reload this page.
No description provided.