очистка отладочной печати. тоже кое-что накопилось.
This commit is contained in:
@@ -364,17 +364,15 @@ public class Pass<T> {
|
||||
form.fields.ProgressBar.setValue((data.length > 1) ? Integer.parseInt(data[1]) : 0);
|
||||
break;
|
||||
}
|
||||
} else System.out.println(Utils_.Brackets(message));
|
||||
}
|
||||
}
|
||||
public void ShowMessage1(String message) {
|
||||
if (form != null)
|
||||
form.fields.Label1.setText((message.length() > 1) ? message : "");
|
||||
else System.out.println(Utils_.Brackets(message));
|
||||
}
|
||||
public void ShowMessage2(String message) {
|
||||
if (form != null)
|
||||
form.fields.Label2.setText((message.isEmpty() ? "" : message));
|
||||
else System.out.println(Utils_.Brackets(message));
|
||||
}
|
||||
public void ShowProgress(int total, int current, boolean auto) {
|
||||
if (form != null) {
|
||||
|
||||
@@ -69,7 +69,6 @@ public class Utils_ {
|
||||
public static JsonObject getPropertiesAsJsonObject() throws Exception {
|
||||
File propertiesFile = new File(System.getProperty("user.dir"), "properties");
|
||||
if (!propertiesFile.exists()) {
|
||||
System.out.println("Файл properties не найден!");
|
||||
return null;
|
||||
}
|
||||
String packed = FileUtils.readFileToString(propertiesFile, Charset.defaultCharset());
|
||||
|
||||
Reference in New Issue
Block a user