code: @Deprecated
      public void setVariable(String variable)
      {
          final StringTokenizer st;
  
          if (variable == null)
          {
              this.variables = null;
              return;
          }
  
          st = new StringTokenizer(variable, "|");
          variables = new LinkedHashMap<>();
          while (st.hasMoreTokens())
          {
              String[] keyValue;
  
              keyValue = st.nextToken().split("=", 2);
              if (keyValue.length < 2)
              {
                  variables.put(keyValue[0], null);
              }
              else
              {
                  variables.put(keyValue[0], keyValue[1]);
              }
          }
      }
docs: Sets the variables to set on the originated call.
  <p>
  Variable assignments are of the form "VARNAME=VALUE". You can specify
  multiple variable assignments separated by the '|' character.
  <p>
  Example: "VAR1=abc|VAR2=def" sets the channel variables VAR1 to "abc" and
  VAR2 to "def".
  
  @deprecated use {@link #setVariables(Map)} instead.