no message
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user