src/java.base/windows/classes/sun/nio/ch/SinkChannelImpl.java
changeset 48750 ffbb784a8873
parent 47216 71c04702a3d5
child 49493 814bd31f8da0
equal deleted inserted replaced
48749:fd40b0b3d849 48750:ffbb784a8873
     1 /*
     1 /*
     2  * Copyright (c) 2002, 2006, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2002, 2018, 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
    42 class SinkChannelImpl
    42 class SinkChannelImpl
    43     extends Pipe.SinkChannel
    43     extends Pipe.SinkChannel
    44     implements SelChImpl
    44     implements SelChImpl
    45 {
    45 {
    46     // The SocketChannel assoicated with this pipe
    46     // The SocketChannel assoicated with this pipe
    47     SocketChannel sc;
    47     final SocketChannel sc;
    48 
    48 
    49     public FileDescriptor getFD() {
    49     public FileDescriptor getFD() {
    50         return ((SocketChannelImpl)sc).getFD();
    50         return ((SocketChannelImpl)sc).getFD();
    51     }
    51     }
    52 
    52