Skip to content
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

Clean up imports and dependencies #300

Merged
merged 1 commit into from
Sep 14, 2021

Conversation

Lukasa
Copy link
Contributor

@Lukasa Lukasa commented Sep 14, 2021

Motivation:

With NIO 2.32.0 we broke the core NIO module up into modules that split
apart the POSIX layer and the core abstractions. As a result, this
package no longer needs to express a hard dependency on the POSIX layer.

Modifications:

  • Rewrote imports of NIO to NIOCore.
  • Added NIOEmbedded imports where necessary in tests.
  • Note that the main modules still depend on NIO, which is necessary
    for backwards-compatibility reasons. This dependency is unused.

Result:

No need to use NIOPosix.

@Lukasa Lukasa added the 🔨 semver/patch No public API change. label Sep 14, 2021
@Lukasa Lukasa force-pushed the cb-clean-up-imports-and-deps branch from 95cf5a3 to e035e09 Compare September 14, 2021 08:21
@Lukasa Lukasa changed the title Motivation: Clean up imports and dependencies Sep 14, 2021
Motivation:

With NIO 2.32.0 we broke the core NIO module up into modules that split
apart the POSIX layer and the core abstractions. As a result, this
package no longer needs to express a hard dependency on the POSIX layer.

Modifications:

- Rewrote imports of NIO to NIOCore.
- Added NIOEmbedded imports where necessary in tests.
- Note that the main modules still depend on NIO, which is necessary
    for backwards-compatibility reasons. This dependency is unused.

Result:

No need to use NIOPosix.
@Lukasa Lukasa force-pushed the cb-clean-up-imports-and-deps branch from e035e09 to acf6bc5 Compare September 14, 2021 08:55
@Lukasa Lukasa requested a review from fabianfett September 14, 2021 08:58
Copy link
Contributor

@Davidde94 Davidde94 left a comment

Choose a reason for hiding this comment

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

Nice and easy one to review

@Lukasa Lukasa merged commit dbfc8fc into apple:main Sep 14, 2021
@Lukasa Lukasa deleted the cb-clean-up-imports-and-deps branch September 14, 2021 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants