Skip to content

Conversation

@rfc2822
Copy link
Member

@rfc2822 rfc2822 commented Oct 29, 2025

No description provided.

- Add SpotBugs annotations dependency
- Update ICalendarParser to use `@WillNotClose`
@rfc2822 rfc2822 self-assigned this Oct 29, 2025
@rfc2822 rfc2822 added the refactoring Quality improvement of existing functions label Oct 29, 2025
@rfc2822 rfc2822 requested a review from Copilot October 29, 2025 07:40
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds the @WillNotClose annotation to the parse method's reader parameter to document that the method does not close the provided Reader. Additionally, it removes an outdated parameter documentation reference and updates a noinspection comment.

  • Added SpotBugs annotations dependency as compileOnly to provide resource management documentation
  • Annotated the reader parameter with @WillNotClose to clarify resource ownership
  • Cleaned up KDoc by removing outdated @param tzRegistry documentation

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
lib/src/main/kotlin/at/bitfire/synctools/icalendar/ICalendarParser.kt Added @WillNotClose annotation to parse() method's reader parameter and removed outdated parameter documentation
lib/build.gradle.kts Added SpotBugs annotations as a compile-only dependency
gradle/libs.versions.toml Added SpotBugs annotations library definition and updated noinspection comment

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@rfc2822 rfc2822 marked this pull request as ready for review October 29, 2025 07:41
@rfc2822 rfc2822 requested a review from a team as a code owner October 29, 2025 07:41
@rfc2822 rfc2822 merged commit 05fb1e2 into main Oct 29, 2025
13 checks passed
@rfc2822 rfc2822 deleted the spotbugs-annotations branch October 29, 2025 07:45
@github-project-automation github-project-automation bot moved this from Todo to Done in DAVx⁵ Releases Oct 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactoring Quality improvement of existing functions

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant