You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "liuzq (JIRA)" <ji...@apache.org> on 2016/08/07 06:42:20 UTC
[jira] [Updated] (AMQ-6388)
activemq-client/src/main/java/org/apache/activemq/util/URISupport.java
[ https://issues.apache.org/jira/browse/AMQ-6388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
liuzq updated AMQ-6388:
-----------------------
Description:
when I study the java code of ActiveMQ 5.13.4,
I find the code of(https://github.com/apache/activemq/blob/master/activemq-client/src/main/java/org/apache/activemq/util/URISupport.java)
maybe there is a bug with (line 368):---> if (initialParen == 0) {
I think the code here should be if (initialParen != -1) {
was:
when I study the java code of ActiveMQ 5.13.4,
I find the code of(https://github.com/apache/activemq/blob/master/activemq-client/src/main/java/org/apache/activemq/util/URISupport.java)
maybe there is a bug with (line 368):---> if (initialParen == 0) {
I think the code here should be if (initialParen != 0) {
change the "==" to be "!="
> activemq-client/src/main/java/org/apache/activemq/util/URISupport.java
> ----------------------------------------------------------------------
>
> Key: AMQ-6388
> URL: https://issues.apache.org/jira/browse/AMQ-6388
> Project: ActiveMQ
> Issue Type: Bug
> Reporter: liuzq
>
> when I study the java code of ActiveMQ 5.13.4,
> I find the code of(https://github.com/apache/activemq/blob/master/activemq-client/src/main/java/org/apache/activemq/util/URISupport.java)
> maybe there is a bug with (line 368):---> if (initialParen == 0) {
> I think the code here should be if (initialParen != -1) {
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)