Modules upd + Integer -> int. (#117)

This commit is contained in:
Zaxar163 2019-01-03 12:33:14 +03:00 committed by GitHub
parent 3d8700d727
commit f812129d81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -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);
}

@ -1 +1 @@
Subproject commit eec958f2c5edbc7c053686ab7cebaab8dbca2778
Subproject commit ec1431605c4951ace5cbd2ab392b67cea25bddd5