Skip to content

Commit

Permalink
Update SearchResultEntry.java
Browse files Browse the repository at this point in the history
  • Loading branch information
bit4woo committed Apr 7, 2024
1 parent a9f2561 commit 870f902
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/InternetSearch/SearchResultEntry.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@ public String getHost() {
public void setHost(String host) {
if (URLUtils.isVaildUrl(host)) {
this.uri = host;
this.host = URLUtils.getHost(host);
}
this.host = URLUtils.getHost(host);
this.host = host;
}

public String getProtocol() {
Expand Down

0 comments on commit 870f902

Please sign in to comment.