Skip to content

io.rest.FileFormatResource: stream is already sorted - #5750

Open
dilyanpalauzov wants to merge 1 commit into
openhab:mainfrom
dilyanpalauzov:fileformatres_avoid_sorting
Open

io.rest.FileFormatResource: stream is already sorted#5750
dilyanpalauzov wants to merge 1 commit into
openhab:mainfrom
dilyanpalauzov:fileformatres_avoid_sorting

Conversation

@dilyanpalauzov

Copy link
Copy Markdown
Contributor

No description provided.

@dilyanpalauzov
dilyanpalauzov requested a review from a team as a code owner August 1, 2026 08:17

@lolodomo lolodomo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

That's correct.
Already sorted in groups when building it at line 1445.

@wborn wborn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This review was performed by AI before manual maintainer review.

The code change looks correct. groups is already sorted by item name, and filtering that ordered list to obtain topGroups preserves the existing order, so the additional sort is redundant.

However, the commit is missing the required Signed-off-by line. The small patch exception only covers spelling/grammar fixes and single-line documentation changes, so it does not apply to this Java code change.

Please sign off the commit before this is merged.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants