Merge pull request #530 from Flowdalic/fix-bosh-url

[bosh] Fix BOSHConfiguration.getURI()
This commit is contained in:
Florian Schmaus 2022-05-26 20:21:14 +02:00 committed by GitHub
commit 52a3490e07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ public final class BOSHConfiguration extends ConnectionConfiguration {
}
public URI getURI() throws URISyntaxException {
String uri = https ? "https://" : "http://" + getHostString() + ":" + this.port + file;
String uri = (https ? "https://" : "http://") + getHostString() + ":" + this.port + file;
return new URI(uri);
}