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

SOLR-17256: Nuke SolrRequest set/getBasePath in 10 #2852

Merged

Conversation

gerlowskija
Copy link
Contributor

@gerlowskija gerlowskija commented Nov 7, 2024

https://issues.apache.org/jira/browse/SOLR-17256

Description

Previous PRs removed all use of getBasePath/setBasePath, but didn't remove the methods themselves to facilitate easier backporting.

Solution

This commit removes these methods from 'main'. It's NOT intended for backporting, as setBasePath/getBasePath are required to stick around on branch_9x through the remainder of the 9x release line.

Tests

N/A

Checklist

Please review the following and check all that apply:

  • I have reviewed the guidelines for How to Contribute and my code conforms to the standards described there to the best of my ability.
  • I have created a Jira issue and added the issue ID to my pull request title.
  • I have given Solr maintainers access to contribute to my PR branch. (optional but recommended, not available for branches on forks living under an organisation)
  • I have developed this patch against the main branch.
  • I have run ./gradlew check.

Previous commits removed all usage of these methods, but held off on
actually removing the deprecated methods themselves.  This commit now
takes the final step of doing that removal.

Should not be backported to branch_9x, as the deprecated methods are
required to remain there for the remainder of the 9.x release line.
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Nov 7, 2024
Comment on lines -94 to +83
String path = requestWriter.getPath(solrRequest);
String path = solrRequest.getPath();
Copy link
Contributor

Choose a reason for hiding this comment

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

You haven't removed the deprecated RequestWriter.getPath in Solr 10; shouldn't you?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I would've sworn that I had. But I must've missed it somehow. Anyways, done!

@gerlowskija gerlowskija merged commit 139351a into apache:main Nov 12, 2024
3 of 4 checks passed
@gerlowskija gerlowskija deleted the SOLR-17256-remove-setBasePath-from-10 branch November 12, 2024 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client:solrj documentation Improvements or additions to documentation tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants