#1 Add host to domain transformation method

병합
jonathan kris/host_to_domain 에서 master 로 1 commits 를 머지했습니다 4 년 전
kris 코멘트됨, 4 년 전

@jonathan please review

@jonathan please review
jonathan 다음으로부터 할당됨 kris 4 년 전
jonathan requested changes 4 년 전
jonathan left a comment

Question about removal of getHost call to validate URI.

@@ -53,4 +61,2 @@
* @return the "registered" domain, which includes the TLD and one level up.
*/
public static String getRegisteredDomain(String uri) {
final String host = getHost(uri);
jonathan 코멘트됨, 4 년 전

The getHost call was used to ensure that the uri argument is a valid URI. Can we leave it in? If that breaks something, maybe use a different method?

The `getHost` call was used to ensure that the `uri` argument is a valid URI. Can we leave it in? If that breaks something, maybe use a different method?
kris 코멘트됨, 4 년 전

Nothing is removed. getRegisteredDomain still works as before - redefined in line 56 above, and does call getHost.

hostToDomain is a brand new method with the second part of the previous method required and used currently only in some test.

Nothing is removed. `getRegisteredDomain` still works as before - redefined in line 56 above, and does call `getHost`. `hostToDomain` is a brand new method with the second part of the previous method required and used currently only in some test.
jonathan 코멘트됨, 4 년 전

Sorry, I missed that. Thanks.

Sorry, I missed that. Thanks.
jonathan closed this pull request 4 년 전
jonathan 삭제된 브랜치 kris/host_to_domain 4 년 전

리뷰어

jonathan requested changes 4 년 전
The pull request has been merged as 45579ec840.
로그인하여 이 대화에 참여
No reviewers
레이블 없음
마일스톤 없음
담당자 없음
참여자 2명
알림
마감일

마감일이 설정되지 않았습니다.

의존성

이 풀 리퀘스트는 어떠한 의존성도 가지지 않습니다.

불러오는 중...
아직 콘텐츠가 없습니다.