Skip to content

Commit 68690d9

Browse files
committed
Format string
1 parent 58ed6ca commit 68690d9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/java/com/rabbitmq/client/ConnectionFactory.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,8 @@ public ConnectionFactory setUri(URI uri)
373373
if (userInfo != null) {
374374
String userPass[] = userInfo.split(":");
375375
if (userPass.length > 2) {
376-
throw new IllegalArgumentException("Bad user info in AMQP URI: user info contains more than one colon");
376+
throw new IllegalArgumentException(
377+
"Bad user info in AMQP URI: user info contains more than one colon");
377378
}
378379

379380
setUsername(uriDecode(userPass[0]));

0 commit comments

Comments
 (0)