no message

This commit is contained in:
2024-10-11 00:00:30 +03:00
parent a11b7711f7
commit f317ab1aa1
341 changed files with 1866 additions and 1688 deletions

View File

@@ -1,5 +1,5 @@
package _VisualDVM.Validators;
import Common.Utils.CommonUtils;
import Common.Utils.Utils_;
import _VisualDVM.GlobalData.Compiler.Compiler;
import _VisualDVM.GlobalData.CompilerEnvironment.CompilerEnvironment;
import _VisualDVM.GlobalData.CompilerOption.CompilerOption;
@@ -75,7 +75,7 @@ public class DVMHelpParser {
state = HelpParserState.Search;
for (String line_ : lines) {
line = line_; //нужна для окружения. там пробелы нужно считать сразу.
t_line = CommonUtils.removeCharacters(line_.trim(), "\r");
t_line = Utils_.removeCharacters(line_.trim(), "\r");
switch (state) {
case Search:
switch (t_line) {

View File

@@ -1,5 +1,5 @@
package _VisualDVM.Validators;
import Common.Utils.CommonUtils;
import Common.Utils.Utils_;
import Common.Utils.TextLog;
import org.fife.ui.rsyntaxtextarea.RSyntaxUtilities;
public class PathValidator extends Validator {
@@ -38,7 +38,7 @@ public class PathValidator extends Validator {
name.append(c);
break;
default:
if (CommonUtils.isForbiddenCharacter(c))
if (Utils_.isForbiddenCharacter(c))
state = PathValidatorState.Forbidden;
else name.append(c);
break;
@@ -53,7 +53,7 @@ public class PathValidator extends Validator {
Log.Writeln(string_name + ": имя файла или каталога в пути имеет неверный формат");
break;
case Forbidden:
Log.Writeln(string_name + ": Составляющие путь имена содержат запрещённые символы \n" + CommonUtils.printAllForbiddenCharacters());
Log.Writeln(string_name + ": Составляющие путь имена содержат запрещённые символы \n" + Utils_.printAllForbiddenCharacters());
break;
case Name:
if (spaces_count > 0)

View File

@@ -1,6 +1,6 @@
package _VisualDVM.Validators;
import Common.CommonConstants;
import Common.Utils.CommonUtils;
import Common.Utils.Utils_;
import java.io.InputStreamReader;
import java.util.Vector;
@@ -172,7 +172,7 @@ public class ShellParser {
System.out.print(c == '\r' ? ("\\r") :
(c == '\n' ? "\\n\n" : c));
if (isCommandSymbol())
System.out.print(CommonUtils.RBrackets(code));
System.out.print(Utils_.RBrackets(code));
}
}
}
@@ -210,7 +210,7 @@ public class ShellParser {
} else
state = ShellParserState.End;
} catch (Exception ex) {
CommonUtils.MainLog.PrintException(ex);
Utils_.MainLog.PrintException(ex);
state = ShellParserState.End;
}
} while (!state.equals(ShellParserState.End));
@@ -236,7 +236,7 @@ public class ShellParser {
} else
state = ShellParserState.End;
} catch (Exception ex) {
CommonUtils.MainLog.PrintException(ex);
Utils_.MainLog.PrintException(ex);
state = ShellParserState.End;
}
} while (!state.equals(ShellParserState.End));
@@ -261,7 +261,7 @@ public class ShellParser {
} else
return;
} catch (Exception ex) {
CommonUtils.MainLog.PrintException(ex);
Utils_.MainLog.PrintException(ex);
return;
}
} while (!res.toString().contains(command));