Skip to content

Commit fefb94e

Browse files
author
Alexandru Scvortov
committed
typo
1 parent 99b3a7b commit fefb94e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/com/rabbitmq/client/ConnectionFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ public void setUri(String uriString)
228228
String path = uri.getRawPath();
229229
if (path != null && path.length() > 0) {
230230
if (path.indexOf('/', 1) != -1) {
231-
throw new IllegalArgumentException("Multiple segemnts in path of AMQP URI: " + uriString);
231+
throw new IllegalArgumentException("Multiple segments in path of AMQP URI: " + uriString);
232232
}
233233

234234
setVirtualHost(uriDecode(uri.getPath().substring(1)));

0 commit comments

Comments
 (0)