Skip to content

Commit 0534d91

Browse files
committed
FBEditor Version 0.7.2
Latest Release Version 0.7.2
1 parent 148d78e commit 0534d91

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

src/de/FBEditor/FBEdit.java

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
public class FBEdit extends JFrame implements Runnable
4949

5050
{
51-
private static final String version = "0.7";
51+
private static final String version = "0.7.2";
5252
private static final String PROPERTIES_FILE = "FBEditor.properties.xml";
5353

5454
public static FritzBoxConnection fbConnection = null;
@@ -107,13 +107,6 @@ public FBEdit() {
107107
System.out.println("position_left: " + position_left);
108108
System.out.println("position_height: " + position_height);
109109
System.out.println("position_width: " + position_width);
110-
111-
System.out.println("box.address: " + box_address);
112-
System.out.println("box.password: " + box_password);
113-
System.out.println("box.username: " + box_username);
114-
System.out.println("readOnStartup: " + readOnStartup);
115-
System.out.println("NoChecks: " + NoChecks);
116-
System.out.println("language: " + language);
117110

118111
setLocation(Integer.parseInt(position_left.trim()),
119112
Integer.parseInt(position_top.trim()));
@@ -329,6 +322,7 @@ void putFile() {
329322
int index = text.indexOf("**** CFGFILE:ar7.cfg");
330323
text = text.substring(0, index) + "NoChecks=yes" + '\n'
331324
+ text.substring(index);
325+
text = CalcChecksum.replaceChecksum(text); // Neue Checksumme mit NoChecks
332326
}
333327
boolean result = false;
334328
result = Utils.exportData(getframe(), getbox_address(), text);
@@ -478,6 +472,13 @@ public static FBEdit getInstance() {
478472
return INSTANCE;
479473
}
480474

475+
private static void sleep(long millis) {
476+
try {
477+
Thread.sleep(millis);
478+
} catch (InterruptedException ignored) {
479+
}
480+
}
481+
481482
public static void main(String[] s) {
482483
FBEdit fbedit = new FBEdit();
483484

@@ -497,6 +498,8 @@ public static void main(String[] s) {
497498

498499
fbedit.thread.start(); // Korrektur Statuszeile geht sonst nicht
499500

501+
sleep(2000);
502+
500503
makeNewConnection(true);
501504

502505
}

0 commit comments

Comments
 (0)