[jboss-svn-commits] JBL Code SVN: r24458 - labs/jbossesb/branches/JBESB_4_2_1_GA_FP/product/rosetta/src/org/jboss/soa/esb/listeners.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Sun Dec 21 06:13:41 EST 2008
Author: mark.little at jboss.com
Date: 2008-12-21 06:13:41 -0500 (Sun, 21 Dec 2008)
New Revision: 24458
Modified:
labs/jbossesb/branches/JBESB_4_2_1_GA_FP/product/rosetta/src/org/jboss/soa/esb/listeners/ListenerUtil.java
Log:
https://jira.jboss.org/jira/browse/JBESB-2173
Modified: labs/jbossesb/branches/JBESB_4_2_1_GA_FP/product/rosetta/src/org/jboss/soa/esb/listeners/ListenerUtil.java
===================================================================
--- labs/jbossesb/branches/JBESB_4_2_1_GA_FP/product/rosetta/src/org/jboss/soa/esb/listeners/ListenerUtil.java 2008-12-21 10:36:50 UTC (rev 24457)
+++ labs/jbossesb/branches/JBESB_4_2_1_GA_FP/product/rosetta/src/org/jboss/soa/esb/listeners/ListenerUtil.java 2008-12-21 11:13:41 UTC (rev 24458)
@@ -221,8 +221,12 @@
}
else
{
- final String passphrase = tree.getAttribute(SFTPEpr.PASSPHRASE_TAG) ;
- epr = new SFTPEpr(uri,new URI(cert), passphrase);
+ final String passphrase = tree.getAttribute(SFTPEpr.PASSPHRASE_TAG, null) ;
+
+ if (passphrase != null)
+ epr = new SFTPEpr(uri, new URI(cert), passphrase);
+ else
+ epr = new SFTPEpr(uri, new URI(cert));
}
}
else
More information about the jboss-svn-commits
mailing list