#1 Add host to domain transformation method

Scalone
jonathan scala 1 commity/ów z kris/host_to_domain do master 4 lat temu
kris skomentował(-a) 4 lat temu

@jonathan please review

@jonathan please review
jonathan zostaje przypisany(-a) przez kris 4 lat temu
jonathan zażądał(-a) zmian 4 lat temu
jonathan zostawił komentarz

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 skomentował(-a) 4 lat temu

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 skomentował(-a) 4 lat temu

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 skomentował(-a) 4 lat temu

Sorry, I missed that. Thanks.

Sorry, I missed that. Thanks.
jonathan zamknął(-ęła) ten pull request 4 lat temu
jonathan usuwa gałąź kris/host_to_domain 4 lat temu

Recenzenci

jonathan zażądał(-a) zmian 4 lat temu
Pull Request został scalony jako 45579ec840.
Zaloguj się, aby dołączyć do tej rozmowy.
Brak recenzentów
Brak etykiety
Brak kamienia milowego
Brak przypisanych
Uczestnicy 2
Powiadomienia
Termin realizacji

Brak ustawionego terminu realizacji.

Zależności

Ten Pull Request nie zawiera w tej chwili żadnych zależności.

Ładowanie…
Nie ma jeszcze treści.