-
Notifications
You must be signed in to change notification settings - Fork 161
Closed
Milestone
Description
I'm not sure what and when is returned from
glassfish/appserver/jms/jms-core/src/main/java/com/sun/enterprise/connectors/jms/util/JmsRaUtil.java
Lines 443 to 453 in d16b2c4
| public static String getUnAliasedPwd(String alias) { | |
| try { | |
| String unalisedPwd = RelativePathResolver.getRealPasswordFromAlias(alias); | |
| if (unalisedPwd != null && "".equals(unalisedPwd)) { | |
| return unalisedPwd; | |
| } | |
| } catch (Exception e) { | |
| } | |
| return alias; | |
| } |
Is it unalisedPwd when it's not null and empty? Strange.
Originally it said
if (unalisedPwd != null && "".equals(unalisedPwd));
return unalisedPwd;(with misleading indentation, but when condition was met then nothing happened and unalisedPwd was returned) which was then "corrected" with javaee/glassfish@12e76af.
Given it "worked" for 15 years, it's uncertain for me if this shall be modified, ignored or removed.
dmatej
Metadata
Metadata
Assignees
Labels
No labels