String mc = System.getProperty("http.maxConnections"); maxConnections = (mc != null && mc.length() > 0) ? Math.max(Integer.parseInt(mc), 1) : 5;
    public Object run()    {      proxyHostname = System.getProperty("http.proxyHost");      if (proxyHostname != null && proxyHostname.length() > 0)        {          String port = System.getProperty("http.proxyPort");          if (port != null && port.length() > 0)            {              proxyPort = Integer.parseInt(port);            }          else            {              proxyHostname = null;              proxyPort = -1;            }        }      agent = System.getProperty("http.agent");      String ka = System.getProperty("http.keepAlive");      keepAlive = !(ka != null && "false".equals(ka));      String mc = System.getProperty("http.maxConnections");      maxConnections = (mc != null && mc.length() > 0) ?        Math.max(Integer.parseInt(mc), 1) : 5;      return null;    }