[MGNLACTIVATION-106] Close stream Created: 20/Apr/15 Updated: 05/May/15 Resolved: 28/Apr/15 |
|
| Status: | Closed |
| Project: | Activation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.3.3, 5.4 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Federico Grilli | Assignee: | Evzen Fochr |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
| Date of First Response: | |
| Epic Link: | Dispose of resources properly |
| Description |
|
See info.magnolia.module.activation.ResourceCollector.collect(Content, List<String>, String, String, String, Rule) |
| Comments |
| Comment by Milan Divilek [ 28/Apr/15 ] |
|
Reopen: Please use try-finally and close output stream in final block. Also use org.apache.commons.io.IOUtils#closeQuietly for closing the stream. |