if (encryptionManager != null) {
return encryptionManager.encrypt(message);
}
return message;
}
<BUG>public Future<Void> sendFile(final Channel channel, final String fileName) {
Future<Void> future = null;</BUG>
Path path = Paths.get(fileName);
if (Files.exists(path)) {
if (Files.isDirectory(path)) {

if (encryptionManager != null) {
return encryptionManager.encrypt(message);
}
return message;
}
Future<Void> sendFile(final Channel channel, final String fileName) {
Future<Void> future = null;
Path path = Paths.get(fileName);
if (Files.exists(path)) {
if (Files.isDirectory(path)) {
