#1 Add host to domain transformation method

Sloučený
jonathan sloučil 1 revizí z větve kris/host_to_domain do větve master před před 4 roky
kris okomentoval před 4 roky

@jonathan please review

@jonathan please review
jonathan byl přiřazen kris před 4 roky
jonathan požadované změny před 4 roky
jonathan zanechal komentář

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 okomentoval před 4 roky

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 okomentoval před 4 roky

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 okomentoval před 4 roky

Sorry, I missed that. Thanks.

Sorry, I missed that. Thanks.
jonathan closed this pull request před 4 roky
jonathan odstranil(a) větev kris/host_to_domain před 4 roky

Posuzovatelé

jonathan požadované změny před 4 roky
Požadavek na natažení byl sloučen jako 45579ec840.
Přihlaste se pro zapojení do konverzace.
Žádní posuzovatelé
Bez štítku
Bez milníku
Bez zpracovatelů
2 účastníků
Oznámení
Termín dokončení

Žádný termín dokončení.

Závislosti

Tento požadavek na natažení momentálně nemá žádné závislosti.

Načítá se…
Není zde žádný obsah.