#1 Add host to domain transformation method

Zusammengeführt
jonathan hat 1 Commits von kris/host_to_domain nach master vor 4 Jahren zusammengeführt
kris hat vor 4 Jahren kommentiert

@jonathan please review

@jonathan please review
jonathan wurde von kris vor 4 Jahren zugewiesen
jonathan hat vor 4 Jahren Änderungen angefragt
jonathan hat einen Kommentar hinterlassen

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 hat vor 4 Jahren kommentiert

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 hat vor 4 Jahren kommentiert

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 hat vor 4 Jahren kommentiert

Sorry, I missed that. Thanks.

Sorry, I missed that. Thanks.
jonathan hat diesen Pull-Request vor 4 Jahren geschlossen
jonathan löschte die Branch kris/host_to_domain vor 4 Jahren

Reviewer

jonathan hat vor 4 Jahren Änderungen angefragt
Der Pull Request wurde als 45579ec840 zusammengeführt.
Anmelden, um an der Diskussion teilzunehmen.
Keine Reviewer
Kein Label
Kein Meilenstein
Niemand zuständig
2 Beteiligte
Nachrichten
Fällig am

Kein Fälligkeitsdatum gesetzt.

Abhängigkeiten

Dieser Pull-Request hat momentan keine Abhängigkeiten.

Laden…
Hier gibt es bis jetzt noch keinen Inhalt.