File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
spring-rabbit/src/main/java/org/springframework/amqp/rabbit/connection Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2016 the original author or authors.
2
+ * Copyright 2002-2017 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
69
69
* @author Arnaud Cogoluègnes
70
70
* @author Hareendran
71
71
* @author Artem Bilan
72
+ * @author Zachary DeLuca
72
73
*
73
74
* @since 1.4
74
75
*/
@@ -636,11 +637,11 @@ protected void setUpSSL() throws Exception {
636
637
String keyStoreType = getKeyStoreType ();
637
638
String trustStoreType = getTrustStoreType ();
638
639
char [] keyPassphrase = null ;
639
- if (StringUtils . hasText ( keyStorePassword ) ) {
640
+ if (keyStorePassword != null ) {
640
641
keyPassphrase = keyStorePassword .toCharArray ();
641
642
}
642
643
char [] trustPassphrase = null ;
643
- if (StringUtils . hasText ( trustStorePassword ) ) {
644
+ if (trustStorePassword != null ) {
644
645
trustPassphrase = trustStorePassword .toCharArray ();
645
646
}
646
647
KeyManager [] keyManagers = null ;
You can’t perform that action at this time.
0 commit comments