-
Notifications
You must be signed in to change notification settings - Fork 71
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
Switch to Google Guava for public suffix API #4
Comments
changes needed for move to httpcomponents
I'm not seeing what #12 has to do with this? |
My mistake |
I had a look at Guava. I assume that it is |
Ah, so, I was going on the basis of this documentation that indicated that the Guava classes also just used the publicsuffix.org list. Maybe that documentation is out of date? |
My fault. You are right I didn't read the code well enough. Regarding which implementation is best maintained, both implementations uses a local copy of the list from publicsuffix.org (PSL). Webarchive-commons' list was last updated sometime late in 2013, while Guava master branch was updated August 20, 2014. In both cases freshness is dependent on the release frequency of the library and that we always depend on the latest version. For freshness, I think moving to Guava is good. But if we are using other part of Guava and that part gets API-changes, then we must update our code just to get the updated PSL. This is probably not a big problem assuming Guava is concerned about backward compatibility. |
I've found that Heritrix is already using |
While porting for #1, this happened:
This is rather clumsy, and given this is provided by Google Guava, there seems little point maintaining our own code (assuming theirs is kept up to date). The task is then to check that the Google one is well maintained and switch over to that instead of copying in code from elsewhere.
The text was updated successfully, but these errors were encountered: