no message
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package Visual_DVM_2021.Passes.All;
|
||||
import Common.Utils.CommonUtils;
|
||||
import Common.Visual.CommonUI;
|
||||
import Common.Utils.Utils_;
|
||||
import Common.Visual.UI_;
|
||||
import _VisualDVM.Current;
|
||||
import _VisualDVM.GlobalData.GlobalDatabase;
|
||||
import _VisualDVM.Global;
|
||||
@@ -45,7 +45,7 @@ public class SPF_ParseFilesWithOrder extends SapforAnalysis {
|
||||
precompilation_done = false;
|
||||
boolean res = (
|
||||
silent ||
|
||||
(!((GlobalDatabase)CommonUtils.db).settings.get(SettingName.Precompilation).toBoolean() ||
|
||||
(!((GlobalDatabase) Utils_.db).settings.get(SettingName.Precompilation).toBoolean() ||
|
||||
(precompilation_done = passes.get(PassCode.Precompilation).Do())))
|
||||
&& super.canStart(args) && checkActiveFiles();
|
||||
return res;
|
||||
@@ -75,7 +75,7 @@ public class SPF_ParseFilesWithOrder extends SapforAnalysis {
|
||||
case HasNotes:
|
||||
case HasWarnings:
|
||||
if (f.isActiveProgram())
|
||||
projLines.add(CommonUtils.toU(f.getDepFile().getAbsolutePath()));
|
||||
projLines.add(Utils_.toU(f.getDepFile().getAbsolutePath()));
|
||||
goodCount++;
|
||||
break;
|
||||
case HasErrors:
|
||||
@@ -97,7 +97,7 @@ public class SPF_ParseFilesWithOrder extends SapforAnalysis {
|
||||
}
|
||||
if (goodCount == 0) {
|
||||
Log.Writeln_("Не найдено ни одного успешно проанализированного файла на языке проекта :" +
|
||||
CommonUtils.DQuotes(target.languageName.getDescription()));
|
||||
Utils_.DQuotes(target.languageName.getDescription()));
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
@@ -107,13 +107,13 @@ public class SPF_ParseFilesWithOrder extends SapforAnalysis {
|
||||
@Override
|
||||
protected void unpack(String packed) throws Exception {
|
||||
for (String fileName_ : packed.split("\\|"))
|
||||
target.files_order.add(CommonUtils.toW(fileName_));
|
||||
target.files_order.add(Utils_.toW(fileName_));
|
||||
}
|
||||
@Override
|
||||
protected void performPreparation() throws Exception {
|
||||
super.performPreparation(); //удаление интеррупта.
|
||||
//------------------------------------------------------------------------------------------>>> пакетный режим.
|
||||
if (!precompilation_done && CommonUI.isActive()) {
|
||||
if (!precompilation_done && UI_.isActive()) {
|
||||
passes.get(PassCode.Save).Do();
|
||||
target.CleanAnalyses();
|
||||
}
|
||||
@@ -128,7 +128,7 @@ public class SPF_ParseFilesWithOrder extends SapforAnalysis {
|
||||
//---------------------------
|
||||
for (DBProjectFile f : target.db.files.Data.values()) {
|
||||
if (f.isActiveProgram()) {
|
||||
projLines.add(CommonUtils.toU(f.file.getAbsolutePath()));
|
||||
projLines.add(Utils_.toU(f.file.getAbsolutePath()));
|
||||
f.CreateParserOptions();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user