src/java.base/windows/classes/java/net/PlainSocketImpl.java
changeset 49249 92cca24c8807
parent 47216 71c04702a3d5
child 49833 06a6ae39d892
--- a/src/java.base/windows/classes/java/net/PlainSocketImpl.java	Thu Mar 15 10:47:58 2018 +0000
+++ b/src/java.base/windows/classes/java/net/PlainSocketImpl.java	Thu Mar 15 11:02:22 2018 +0000
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2007, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -43,8 +43,7 @@
  * @author Chris Hegarty
  */
 
-class PlainSocketImpl extends AbstractPlainSocketImpl
-{
+class PlainSocketImpl extends AbstractPlainSocketImpl {
     private AbstractPlainSocketImpl impl;
 
     /* java.net.preferIPv4Stack */
@@ -254,22 +253,14 @@
         impl.releaseFD();
     }
 
-    public boolean isConnectionReset() {
+    boolean isConnectionReset() {
         return impl.isConnectionReset();
     }
 
-    public boolean isConnectionResetPending() {
-        return impl.isConnectionResetPending();
-    }
-
-    public void setConnectionReset() {
+    void setConnectionReset() {
         impl.setConnectionReset();
     }
 
-    public void setConnectionResetPending() {
-        impl.setConnectionResetPending();
-    }
-
     public boolean isClosedOrPending() {
         return impl.isClosedOrPending();
     }