jdk/src/java.base/share/classes/sun/net/www/http/HttpClient.java
changeset 34943 52923a144ff6
parent 34774 03b4e6dc367b
child 37593 824750ada3d6
equal deleted inserted replaced
34942:4b462ee18ed9 34943:52923a144ff6
     1 /*
     1 /*
     2  * Copyright (c) 1994, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1994, 2016, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   965             }
   965             }
   966         }
   966         }
   967         return "";
   967         return "";
   968     }
   968     }
   969 
   969 
   970     @Override
       
   971     protected void finalize() throws Throwable {
       
   972         // This should do nothing.  The stream finalizer will
       
   973         // close the fd.
       
   974     }
       
   975 
       
   976     public void setDoNotRetry(boolean value) {
   970     public void setDoNotRetry(boolean value) {
   977         // failedOnce is used to determine if a request should be retried.
   971         // failedOnce is used to determine if a request should be retried.
   978         failedOnce = value;
   972         failedOnce = value;
   979     }
   973     }
   980 
   974