Opened on 11/04/2017 at 12:36:56 AM
Closed on 11/08/2017 at 01:27:53 AM
#5992 closed change (fixed)
Improve writing of function website(fromURL:)
Reported by: | dzhang | Assignee: | dzhang |
---|---|---|---|
Priority: | Unknown | Milestone: | Adblock-Plus-for-iOS-next |
Module: | Adblock-Plus-for-iOS/macOS | Keywords: | |
Cc: | ashephard, CraftyDeano | Blocked By: | |
Blocking: | Platform: | iOS | |
Ready: | no | Confidential: | no |
Tester: | Unknown | Verified working: | no |
Review URL(s): |
Description
Background
During post review analysis, it was found that the logic in website(fromURL:) in class ABPManager could be expressed more clearly by rolling the url check into the string processing and having all error cases handled by the end of the function.
What to change
Update website(fromURL:) with its improved form.
Attachments (0)
Change History (2)
Note: See
TracTickets for help on using
tickets.