#1 Add host to domain transformation method

Слито
jonathan слито 1 коммит(ов) из kris/host_to_domain в master 4 лет назад
kris прокомментировал 4 лет назад

@jonathan please review

@jonathan please review
jonathan был назначен kris 4 лет назад
jonathan запросил(а) изменения 4 лет назад
jonathan оставил комментарий

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 запросил(а) изменения 4 лет назад
Pull Request был объединен как %!с(string=45579ec840).
Войдите, чтобы присоединиться к обсуждению.
Нет рецензентов
Нет меток
Нет этапа
Нет назначенных лиц
2 участников
Уведомления
Срок выполнения

Срок выполнения не установлен.

Зависимости

Этот запрос на слияние в настоящее время не имеет никаких зависимостей.

Загрузка…
Пока нет содержимого.