jdk/src/java.base/share/classes/java/net/Proxy.java
changeset 32649 2ee9017c7597
parent 25859 3317bb8137f4
equal deleted inserted replaced
32648:1fa861caf840 32649:2ee9017c7597
    67      * proxy settings (like SOCKS):
    67      * proxy settings (like SOCKS):
    68      * <P>
    68      * <P>
    69      * {@code Socket s = new Socket(Proxy.NO_PROXY);}
    69      * {@code Socket s = new Socket(Proxy.NO_PROXY);}
    70      *
    70      *
    71      */
    71      */
    72     public final static Proxy NO_PROXY = new Proxy();
    72     public static final Proxy NO_PROXY = new Proxy();
    73 
    73 
    74     // Creates the proxy that represents a {@code DIRECT} connection.
    74     // Creates the proxy that represents a {@code DIRECT} connection.
    75     private Proxy() {
    75     private Proxy() {
    76         type = Type.DIRECT;
    76         type = Type.DIRECT;
    77         sa = null;
    77         sa = null;