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

optimize capacity & add assert messages in GeoJson #4904

Open
wjdqhry opened this issue Feb 21, 2025 · 0 comments · May be fixed by #4905
Open

optimize capacity & add assert messages in GeoJson #4904

wjdqhry opened this issue Feb 21, 2025 · 0 comments · May be fixed by #4905
Assignees
Labels
type: task A general task

Comments

@wjdqhry
Copy link

wjdqhry commented Feb 21, 2025

related spring-projects/spring-data-elasticsearch#3063

I found a minor improvement in spring-data-elasticsearch, and I am submitting the same fix here.

I found that initial capacity of ArrayList is set to smaller than that actually needed, and in some cases, it isn't set at all.
Additionally, while LineString and MultiPoint use assertions for validating parameters, but Polygon doesn't.

I created this issue for fix it.

Thank you.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Feb 21, 2025
@wjdqhry wjdqhry linked a pull request Feb 21, 2025 that will close this issue
4 tasks
@mp911de mp911de added type: task A general task and removed status: waiting-for-triage An issue we've not yet triaged labels Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task A general task
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants