Skip to content

Commit 034ef03

Browse files
committed
Format string
(cherry picked from commit 68690d9)
1 parent 6b9fb92 commit 034ef03

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
@@ -376,7 +376,8 @@ public void setUri(URI uri)
376376
if (userInfo != null) {
377377
String userPass[] = userInfo.split(":");
378378
if (userPass.length > 2) {
379-
throw new IllegalArgumentException("Bad user info in AMQP URI: user info contains more than one colon");
379+
throw new IllegalArgumentException(
380+
"Bad user info in AMQP URI: user info contains more than one colon");
380381
}
381382

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

0 commit comments

Comments
 (0)