public static synchronized List<Proxy> noProxyList(){
  if (noProxyList == null) {
    ArrayList<Proxy> list=new ArrayList<Proxy>(1);
    list.add(Proxy.NO_PROXY);
    noProxyList=Collections.unmodifiableList(list);
  }
  return noProxyList;
}

public static synchronized List < Proxy > noProxyList ( ) { if ( noProxyList == null ) { ArrayList < Proxy > list = new ArrayList < Proxy > ( 1 ) ; list . add ( Proxy . NO_PROXY ) ; noProxyList = Collections . unmodifiableList ( list ) ; } return noProxyList ; }
gets an unmodifiable proxy list that will have as it ' s only entry an direct proxy .
