Skip to content

Commit

Permalink
Implement property expansion for mux key.
Browse files Browse the repository at this point in the history
Signed-off-by: Andrés Alcarraz <[email protected]>
  • Loading branch information
alcarraz committed Aug 18, 2023
1 parent f890342 commit 85ebb8d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions jpos/src/main/java/org/jpos/q2/iso/QMUX.java
Original file line number Diff line number Diff line change
Expand Up @@ -470,10 +470,9 @@ public void dump (PrintStream p, String indent) {
metrics.dump (p, indent);
}
private String[] toStringArray(String s, String delimiter, String def) {
if (s == null)
s = def;
s = (s != null) ? Environment.get(s) : def;
String[] arr = null;
if (s != null && s.length() > 0) {
if (s != null && !s.isEmpty()) {
StringTokenizer st;
if (delimiter != null)
st = new StringTokenizer(s, delimiter);
Expand Down

0 comments on commit 85ebb8d

Please sign in to comment.