Skip to content

Conversation

@lmac012
Copy link
Contributor

@lmac012 lmac012 commented Dec 23, 2025

Task/Issue URL: https://app.asana.com/1/137249556945/project/1205648422731273/task/1212567455556396?focus=true

Description

This PR makes the app use the existing PublicSuffixDatabase singleton instead of creating additional instances of the class.

Steps to test this PR

QA-optional

No UI changes


Note

Adopts the shared PublicSuffixDatabase.get() singleton for eTLD+1 resolution to avoid creating per-class instances.

  • DuckDuckGoAdClickManager: toTldPlusOne now uses PublicSuffixDatabase.get(); removed local database field
  • StringExtensions.toTldPlusOne: switched to PublicSuffixDatabase.get()
  • RequestDataViewStateMapper.toTldPlusOne: switched to PublicSuffixDatabase.get(); removed local database field

Written by Cursor Bugbot for commit 57fae4d. This will update automatically on new commits. Configure here.

Copy link
Contributor Author

lmac012 commented Dec 23, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@lmac012 lmac012 marked this pull request as ready for review December 23, 2025 23:33
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.

1 participant