Repository: qpid-jms
Updated Branches:
  refs/heads/master 368dce70b -> 53916c506


QPIDJMS-250 Fix c/p error that adds some redundant code

fix a simple c/p error

Project: http://git-wip-us.apache.org/repos/asf/qpid-jms/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-jms/commit/53916c50
Tree: http://git-wip-us.apache.org/repos/asf/qpid-jms/tree/53916c50
Diff: http://git-wip-us.apache.org/repos/asf/qpid-jms/diff/53916c50

Branch: refs/heads/master
Commit: 53916c506f90372ddbce749cb5886ea87069ba01
Parents: 368dce7
Author: Timothy Bish <tabish...@gmail.com>
Authored: Fri Jan 13 12:12:25 2017 -0500
Committer: Timothy Bish <tabish...@gmail.com>
Committed: Fri Jan 13 12:12:25 2017 -0500

----------------------------------------------------------------------
 .../src/main/java/org/apache/qpid/jms/JmsConnectionFactory.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/53916c50/qpid-jms-client/src/main/java/org/apache/qpid/jms/JmsConnectionFactory.java
----------------------------------------------------------------------
diff --git 
a/qpid-jms-client/src/main/java/org/apache/qpid/jms/JmsConnectionFactory.java 
b/qpid-jms-client/src/main/java/org/apache/qpid/jms/JmsConnectionFactory.java
index c455447..41d2adc 100644
--- 
a/qpid-jms-client/src/main/java/org/apache/qpid/jms/JmsConnectionFactory.java
+++ 
b/qpid-jms-client/src/main/java/org/apache/qpid/jms/JmsConnectionFactory.java
@@ -116,13 +116,13 @@ public class JmsConnectionFactory extends JNDIStorable 
implements ConnectionFact
     }
 
     public JmsConnectionFactory(String remoteURI) {
-        setRemoteURI(remoteURI == null ? null : remoteURI);
+        setRemoteURI(remoteURI);
     }
 
     public JmsConnectionFactory(String userName, String password, String 
remoteURI) {
         setUsername(userName);
         setPassword(password);
-        setRemoteURI(remoteURI == null ? null : remoteURI);
+        setRemoteURI(remoteURI);
     }
 
     public JmsConnectionFactory(URI remoteURI) {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to