Skip to content

Conversation

@GOODBOY008
Copy link
Member

No description provided.

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 removes unnecessary @SuppressWarnings("serial") annotations from inner classes that extend Format and simplifies conditional logic in SimpleReadCacheSelector. The changes include making CellFormatResultWrapper static and refactoring nested if-else statements for better readability.

  • Removed @SuppressWarnings("serial") annotations from three static inner classes
  • Changed CellFormatResultWrapper from a non-static to static inner class
  • Refactored if-else logic in SimpleReadCacheSelector.readCache() to reduce nesting

Reviewed Changes

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

File Description
DataFormatter.java Removed serialization suppression warnings and made CellFormatResultWrapper static
SimpleReadCacheSelector.java Simplified conditional logic by inverting condition and flattening nested structure

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

Copy link
Member

@delei delei left a comment

Choose a reason for hiding this comment

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

LGTM

@delei delei merged commit 1508c7f into apache:main Nov 14, 2025
8 checks passed
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.

2 participants