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

Fix warnings #245

Merged
merged 4 commits into from
Jan 14, 2025
Merged

Fix warnings #245

merged 4 commits into from
Jan 14, 2025

Conversation

glbrntt
Copy link
Contributor

@glbrntt glbrntt commented Jan 14, 2025

Motivation:

The latest NIO release deprecated a number of APIs and added more Sendable contraints.

Modifications:

  • Use sync APIs where possible
  • Use _deprecated but not @deprecated NIOFileHandle API
  • Stop using NIOAny

Result:

No warnings

Motivation:

The latest NIO release deprecated a number of APIs and added more
Sendable contraints.

Modifications:

- Use sync APIs where possible
- Use `_deprecated` but not `@deprecated` NIOFileHandle API
- Stop using NIOAny

Result:

No warnings
@glbrntt glbrntt added the 🔨 semver/patch No public API change. label Jan 14, 2025
@glbrntt glbrntt enabled auto-merge (squash) January 14, 2025 11:22
@glbrntt glbrntt merged commit 74a143a into apple:main Jan 14, 2025
22 checks passed
@glbrntt glbrntt deleted the gb/fix-warnings branch January 14, 2025 11:26
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.

2 participants