-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix session key resources closed unexpectedly #5300
Conversation
…ail consistently.
…s from iterators.
…to make sure contents do not get lost.
1da27aa
to
1404eb3
Compare
It looks good, but I don't have all the knowledge yet to approve the whole change (yet). |
} else if (obj instanceof Message) { | ||
return ((Message) obj).asString(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Voorheen werd hij gesloten, is dit niet meer de bedoeling? Misschien een commentaartje toevoegen?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Iets wat al als Message in de PipeLineSession zit, moet niet worden gesloten want wordt misschien opnieuw gelezen.
Ik zal er een comment bij toevoegen!
} | ||
|
||
@Test | ||
public void testCopyMessage3() throws IOException { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ik geloof wel dat dit goed gaat, maar eigenlijk zouden we dit ook met een grote file moeten testen.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ik geloof wel dat dit goed gaat, maar eigenlijk zouden we dit ook met een grote file moeten testen.
Iedere stream van onbekende size wordt als SerializableFileReference ge-preserved dus zelfde als een grote file, volgens mij?
Daarom heb ik niet geprobeerd om dat apart te testen.
Kudos, SonarCloud Quality Gate passed! 0 Bugs 94.8% Coverage The version of Java (11.0.20) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17. |
Please retry analysis of this Pull-Request directly on SonarCloud. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hard for me now to judge the details (still growing knowledge).
No description provided.