Skip to content

Conversation

@PaintNinja
Copy link
Contributor

A collection of small non-breaking changes.

  • More statics and finals
  • Close directory streams after use
  • Use smaller collections in more cases


try {
return Files.list(services)
try (var servicesDirStream = Files.list(services)) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought this had issues with Zip file systems, calling close anywhere on them caused the entire thing to shut down.

@Jonathing
Copy link
Member

If tests are passing for this, I think this is good to be merged. Keep in mind Lex's comment regarding issues with zip file systems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants