mirror of
https://github.com/RetGal/Dayon.git
synced 2024-10-04 18:37:17 +03:00
Cleanup
This commit is contained in:
parent
d294ae7959
commit
8ee26e2039
@ -2,7 +2,6 @@ package mpo.dayon.assistant.network;
|
||||
|
||||
import mpo.dayon.assisted.capture.CaptureEngineConfiguration;
|
||||
import mpo.dayon.assisted.compressor.CompressorEngineConfiguration;
|
||||
import mpo.dayon.assisted.network.NetworkAssistedEngine;
|
||||
import mpo.dayon.common.concurrent.RunnableEx;
|
||||
import mpo.dayon.common.configuration.ReConfigurable;
|
||||
import mpo.dayon.common.event.Listeners;
|
||||
@ -134,7 +133,7 @@ public class NetworkAssistantEngine extends NetworkEngine implements ReConfigura
|
||||
}
|
||||
|
||||
@java.lang.SuppressWarnings("squid:S2189")
|
||||
private void receivingLoop() throws KeyStoreException, NoSuchAlgorithmException, CertificateException, UnrecoverableKeyException, KeyManagementException {
|
||||
private void receivingLoop() throws NoSuchAlgorithmException, KeyManagementException {
|
||||
in = null;
|
||||
out = null;
|
||||
|
||||
@ -206,7 +205,7 @@ public class NetworkAssistantEngine extends NetworkEngine implements ReConfigura
|
||||
}
|
||||
|
||||
@java.lang.SuppressWarnings("squid:S2189")
|
||||
private void fileReceivingLoop() throws KeyStoreException, NoSuchAlgorithmException, CertificateException, UnrecoverableKeyException, KeyManagementException {
|
||||
private void fileReceivingLoop() {
|
||||
fileIn = null;
|
||||
fileOut = null;
|
||||
|
||||
|
@ -84,7 +84,7 @@ public class NetworkAssistedEngine extends NetworkEngine
|
||||
this.configuration = configuration;
|
||||
}
|
||||
|
||||
@SuppressWarnings("java:S2095") // sockets MUST NOT be closed
|
||||
@SuppressWarnings("java:S2095") // our sockets MUST NOT be closed
|
||||
public void start() throws IOException, NoSuchAlgorithmException, KeyManagementException {
|
||||
Log.info("Connecting to [" + configuration.getServerName() + "][" + configuration.getServerPort() + "]...");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user