You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "baldimir (via GitHub)" <gi...@apache.org> on 2024/05/06 11:46:27 UTC

[PR] [kie-issues#1154] Make KieSession auto-closeable [incubator-kie-drools]

baldimir opened a new pull request, #5890:
URL: https://github.com/apache/incubator-kie-drools/pull/5890

   Fixes: https://github.com/apache/incubator-kie-issues/issues/1154
   
   Makes KieSession implement the AutoCloseable interface, so it can be used in try-with-resources code blocks. No new tests added, because KieSession does not have any listener for dispose events. Therefore, some tests were changed to use try-with-resources to dispose the KieSession. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [PR] [kie-issues#1154] Make KieSession auto-closeable [incubator-kie-drools]

Posted by "baldimir (via GitHub)" <gi...@apache.org>.
baldimir merged PR #5890:
URL: https://github.com/apache/incubator-kie-drools/pull/5890


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [PR] [kie-issues#1154] Make KieSession auto-closeable [incubator-kie-drools]

Posted by "baldimir (via GitHub)" <gi...@apache.org>.
baldimir commented on PR #5890:
URL: https://github.com/apache/incubator-kie-drools/pull/5890#issuecomment-2098029041

   Jenkins failure is not related to my changes, it is caused by environment. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org