String s1 = (new StringBuilder()).append(pkgName).append(".").append(protocol).append(".Handler").toString();
String s1 = (new StringBuffer()).append(pkgName).append(".").append(protocol).append(".Handler").toString();
  private URLStreamHandler getURLStreamHandler(String protocol) {    String prop = "";    try {      prop = System.getProperty(HANDLER_PROP_NAME);      if (prop == null) {        prop = "";      }    }    catch (Exception e) {      _log.error("Unable to read property: " + HANDLER_PROP_NAME, e);    }    //prop = prop + (prop.length() > 0 ? "|" : "") + DEFAULT_HANDLER;        StringTokenizer st = new StringTokenizer(prop, "|");    while (st.hasMoreTokens()) {      String pkgName = st.nextToken();      String s1 = (new StringBuilder()).append(pkgName).append(".").append(protocol).append(".Handler").toString();      Class class1;      if (_log.isDebugEnabled()) {        _log.debug("Trying to load " + s1);      }      try {        class1 = Class.forName(s1);        return (URLStreamHandler)class1.newInstance();      } catch (Exception e) {        if (_log.isDebugEnabled()) {          _log.debug("Load of " + s1 + " failed: " + e.getMessage());        }        continue;      }    }    if (_log.isDebugEnabled()) {      _log.debug("using the default handler");    }    return null;  }