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

Make RobotRules accessible #134 #208

Merged
merged 3 commits into from May 14, 2018
Merged

Conversation

aecio
Copy link
Contributor

@aecio aecio commented May 14, 2018

  • Makes SimpleRobotRulesParser._rules property protected
    and adds getters for SimpleRobotRulesParser._rules and
    RobotRules's properties
  • Changes SimpleRobotRulesParser return type from BaseRobotRules
    to SimpleRobotRules to allow access to concrete class without
    nasty type casts while still obeying super class contract

- Makes SimpleRobotRulesParser._rules property protected
  and adds getters for SimpleRobotRulesParser._rules and
  RobotRules's properties
- Changes SimpleRobotRulesParser return type from BaseRobotRules
  to SimpleRobotRules to allow access to concrete class without
  nasty type casts while still obeying super class contract
CHANGES.txt Outdated
@@ -13,6 +13,7 @@ Current Development 0.10-SNAPSHOT (yyyy-mm-dd)
- Handle new suffixes in PaidLevelDomain (kkrugler) #183
- Remove Tika dependency (kkrugler) #199
- Improve MIME detection for sitemaps (sebastian-nagel) #200
- Make RobotRules accessible #134
Copy link
Contributor

Choose a reason for hiding this comment

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

Make RobotRules accessible (aecio via kkrugler) #134

Copy link
Contributor

@kkrugler kkrugler left a comment

Choose a reason for hiding this comment

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

lgtm. Minor comment on CHANGES.txt

Copy link
Contributor

@kkrugler kkrugler left a comment

Choose a reason for hiding this comment

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

lgtm

@kkrugler kkrugler merged commit 993c4fd into crawler-commons:master May 14, 2018
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.

None yet

2 participants