Skip to content

Commit b06e66b

Browse files
committed
simplified
1 parent 2e7e452 commit b06e66b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/wiztools/anyurlhttpserver/AnyUrlHttpServerMain.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public static void main(String[] args) throws Exception {
7575
final int sepIdx = headerLine.indexOf(':');
7676
if((sepIdx > 0) && (sepIdx < headerLine.length())) {
7777
final String header = headerLine.substring(0, sepIdx);
78-
final String value = headerLine.substring(sepIdx + 1, headerLine.length());
78+
final String value = headerLine.substring(sepIdx + 1);
7979
// System.out.printf("\nHeader: Value => %s:%s\n", header, value);
8080
headers.put(header, value);
8181
}

0 commit comments

Comments
 (0)