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

Issue #4 Guava for public suffix #34

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

johnerikhalse
Copy link
Contributor

Replaces code for looking up public suffixes with similar code from Google Guava.

This change breakes one class in Heritrix: org.archive.crawler.processor.HashCrawlMapper
Should be easy to fix though.

…entation.

This breaks Heritrix' HashCrawlMapper
…blic_suffix

Conflicts:
	src/test/java/org/archive/net/PublicSuffixesTest.java
@nlevitt
Copy link
Member

nlevitt commented Nov 7, 2014

Haven't reviewed in detail, but this is great.

One concern though, this removes a method from the public API, namely PublicSuffixes.getTopmostAssignedSurtPrefixRegex(). That probably means the version should bump up to 1.2.0-SNAPSHOT. The heritrix class org.archive.crawler.processor.HashCrawlMapper uses that method, so it will have to be rewritten at some point.

@kris-sigur kris-sigur added this to the 1.2.0 Release milestone May 28, 2015
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.

3 participants