Skip to content

Review and tidy solr/modules/s3-repository code - #4838

Open
epugh wants to merge 1 commit into
apache:mainfrom
epugh:split/modules-s3-repository
Open

Review and tidy solr/modules/s3-repository code#4838
epugh wants to merge 1 commit into
apache:mainfrom
epugh:split/modules-s3-repository

Conversation

@epugh

@epugh epugh commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Description

Split out from #4743 into smaller, per-module PRs to make review easier. This PR contains only the tidy-up changes to solr/modules/s3-repository.

Solution

Leverage IntelliJ warnings (dead config-getter removal, unnecessary throws removal, JUnit assertEquals argument-order fixes, javadoc/comment fixes). No behavior changes — S3OutputStream's buffer/flush/multipart-upload logic is untouched (comment-only fix).

Tests

existing

Relates to #4743

Split out from apache#4743 into a per-module PR to make review easier.
Contains only the tidy-up changes to solr/modules/s3-repository
(dead config-getter removal, unnecessary throws removal,
JUnit assertEquals argument-order fixes, javadoc/comment fixes).
No behavior changes; S3OutputStream's buffer/flush logic is
untouched (comment-only fix).
}
}

static int getIntConfig(NamedList<?> config, String property) {

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.

Why these methods were removed ?

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.

2 participants