mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8297749: Remove duplicate space in the ProtocolException message being thrown from HttpURLConnection
Reviewed-by: dfuchs, jpai
This commit is contained in:
parent
c7a679fbdd
commit
5dcaf6cc6c
2 changed files with 3 additions and 3 deletions
|
@ -1999,8 +1999,8 @@ public class HttpURLConnection extends java.net.HttpURLConnection {
|
|||
return inputStream;
|
||||
} while (redirects < maxRedirects);
|
||||
|
||||
throw new ProtocolException("Server redirected too many " +
|
||||
" times ("+ redirects + ")");
|
||||
throw new ProtocolException("Server redirected too many times (" +
|
||||
redirects + ")");
|
||||
} catch (RuntimeException e) {
|
||||
disconnectInternal();
|
||||
rememberedException = e;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue