Skip to content

Commit 9e45469

Browse files
authored
Merge pull request #50 from garydgregory/2_2_x/NioSession_getChannel_public
Make NioSession.getChannel() public
2 parents 457ec38 + 2982ee8 commit 9e45469

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

mina-core/src/main/java/org/apache/mina/transport/socket/nio/NioDatagramSession.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public DatagramSessionConfig getConfig() {
7575
* {@inheritDoc}
7676
*/
7777
@Override
78-
DatagramChannel getChannel() {
78+
public DatagramChannel getChannel() {
7979
return (DatagramChannel) channel;
8080
}
8181

mina-core/src/main/java/org/apache/mina/transport/socket/nio/NioSession.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ protected NioSession(IoProcessor<NioSession> processor, IoService service, Chann
6868
/**
6969
* @return The ByteChannel associated with this {@link IoSession}
7070
*/
71-
abstract ByteChannel getChannel();
71+
public abstract ByteChannel getChannel();
7272

7373
/**
7474
* {@inheritDoc}

mina-core/src/main/java/org/apache/mina/transport/socket/nio/NioSocketSession.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public SocketSessionConfig getConfig() {
8383
* {@inheritDoc}
8484
*/
8585
@Override
86-
SocketChannel getChannel() {
86+
public SocketChannel getChannel() {
8787
return (SocketChannel) channel;
8888
}
8989

0 commit comments

Comments
 (0)