mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8282932: a space is needed for the unsupported protocol exception message in ProtocolVersion
Reviewed-by: xuelei, mullan
This commit is contained in:
parent
879b6445e3
commit
1f295239b9
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2002, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2002, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -290,7 +290,7 @@ enum ProtocolVersion {
|
|||
ProtocolVersion pv = ProtocolVersion.nameOf(pn);
|
||||
if (pv == null) {
|
||||
throw new IllegalArgumentException(
|
||||
"Unsupported protocol" + pn);
|
||||
"Unsupported protocol: " + pn);
|
||||
}
|
||||
|
||||
pvs.add(pv);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue