From 16993c8a785a9e7b9b60d5c35ae5dff9152eeac4 Mon Sep 17 00:00:00 2001 From: zaxar163 Date: Wed, 2 Jan 2019 20:44:41 +0400 Subject: [PATCH] Modules upd + Integer -> int. --- .../ru/gravit/launchserver/socket/ServerSocketHandler.java | 4 ++-- modules | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/LaunchServer/src/main/java/ru/gravit/launchserver/socket/ServerSocketHandler.java b/LaunchServer/src/main/java/ru/gravit/launchserver/socket/ServerSocketHandler.java index f80075e6..93fb1ce3 100644 --- a/LaunchServer/src/main/java/ru/gravit/launchserver/socket/ServerSocketHandler.java +++ b/LaunchServer/src/main/java/ru/gravit/launchserver/socket/ServerSocketHandler.java @@ -27,7 +27,7 @@ public interface Listener { void onDisconnect(Exception e); - boolean onHandshake(long session, Integer type); + boolean onHandshake(long session, int type); } private static final ThreadFactory THREAD_FACTORY = r -> CommonHelper.newThread("Network Thread", true, r); @@ -76,7 +76,7 @@ public void close() { listener.onDisconnect(e); } - /*package*/ boolean onHandshake(long session, Integer type) { + /*package*/ boolean onHandshake(long session, int type) { return listener == null || listener.onHandshake(session, type); } diff --git a/modules b/modules index eec958f2..ec143160 160000 --- a/modules +++ b/modules @@ -1 +1 @@ -Subproject commit eec958f2c5edbc7c053686ab7cebaab8dbca2778 +Subproject commit ec1431605c4951ace5cbd2ab392b67cea25bddd5