no message

This commit is contained in:
2024-10-14 15:19:13 +03:00
parent 8eef367bd4
commit 5e09fb44ea
634 changed files with 3751 additions and 3263 deletions

View File

@@ -1,8 +1,8 @@
package _VisualDVM.Passes.All;
import Common.Passes.PassException;
import _VisualDVM.Global;
import _VisualDVM.GlobalData.RemoteFile.RemoteFile;
import _VisualDVM.Passes.PassCode;
import Common.Passes.PassException;
import _VisualDVM.Passes.SSH.RepositoryServerSSHPass;
import java.io.File;
@@ -24,9 +24,9 @@ public class PublishComponentsServer extends RepositoryServerSSHPass {
//3. запустить сервер.
@Override
protected void ServerAction() throws Exception {
if ( Global.mainModule.getPass(PassCode.PingComponentsServer).Do(true))
if (Global.mainModule.getPass(PassCode.PingComponentsServer).Do(true))
ShutdownServer();
if ( Global.mainModule.getPass(PassCode.PingComponentsServer).Do(true)) {
if (Global.mainModule.getPass(PassCode.PingComponentsServer).Do(true)) {
throw new PassException("Не удалось остановить сервер.");
}
File src = Global.visualiser.getFile();
@@ -39,8 +39,7 @@ public class PublishComponentsServer extends RepositoryServerSSHPass {
}
@Override
protected boolean validate() {
if (! Global.mainModule.getPass(PassCode.PingComponentsServer).Do(true)) {
if (!Global.mainModule.getPass(PassCode.PingComponentsServer).Do(true)) {
Log.Writeln_("Не удалось запустить сервер.");
}
return true;