Skip to content

Commit 88e9f31

Browse files
committed
code formatting
1 parent fadfb06 commit 88e9f31

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/main/java/io/fusionauth/http/server/HTTPRequest.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -801,15 +801,12 @@ private void decodeHeader(String name, String value) {
801801
}
802802
}
803803
} else {
804+
this.host = value;
804805
if ("http".equalsIgnoreCase(scheme)) {
805806
this.port = 80;
806-
}
807-
else if ("https".equalsIgnoreCase(scheme)) {
807+
} else if ("https".equalsIgnoreCase(scheme)) {
808808
this.port = 443;
809-
} else {
810-
// fallback, intentionally do nothing
811809
}
812-
this.host = value;
813810
}
814811
break;
815812
}

0 commit comments

Comments
 (0)