Skip to content

Commit

Permalink
Merge pull request #105 from StenAL/remove-dead-code
Browse files Browse the repository at this point in the history
Delete unused code from com.aapeli package
  • Loading branch information
PhilippvK authored Mar 26, 2024
2 parents 448a991 + 1d96763 commit 392c17d
Show file tree
Hide file tree
Showing 63 changed files with 0 additions and 7,411 deletions.
48 changes: 0 additions & 48 deletions client/src/main/java/com/aapeli/applet/AApplet.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import com.aapeli.client.StringDraw;
import com.aapeli.client.TextManager;
import com.aapeli.connection.Connection;
import com.aapeli.credit.Product;
import com.aapeli.tools.QuickTimer;
import com.aapeli.tools.QuickTimerListener;
import com.aapeli.tools.Tools;
Expand Down Expand Up @@ -694,53 +693,6 @@ public void allowExternalPopups() {
this.callJavaScriptJSON("{\"block\":\"false\"}");
}

public void callJavaScriptJsonBuyConfirmNeeded(Product var1) {
String var2 = "{\"buy\":{\"status\":\"cneeded\",\"product\":\"";
var2 = var2 + var1.getProductName();
var2 = var2 + "}}";
this.callJavaScriptJSON(var2);
}

public void callJavaScriptJsonBuyConfirmAnswer(Product var1, boolean var2) {
String var3 = "{\"buy\":{\"status\":\"canswer\",\"product\":\"";
var3 = var3 + var1.getProductName();
var3 = var3 + "\",\"answer\":\"";
var3 = var3 + (var2 ? "yes" : "no");
var3 = var3 + "\"}}";
this.callJavaScriptJSON(var3);
}

public void callJavaScriptJsonBuyStarted(Product var1) {
this.callJavaScriptJsonBuyStarted(var1.getProductName());
}

public void callJavaScriptJsonBuyStarted(String var1) {
String var2 = "{\"buy\":{\"status\":\"started\",\"product\":\"";
var2 = var2 + var1;
var2 = var2 + "\"}}";
this.callJavaScriptJSON(var2);
}

public void callJavaScriptJsonBuyFinished(Product var1, int var2) {
this.callJavaScriptJsonBuyFinished(var1.getProductName(), var2);
}

public void callJavaScriptJsonBuyFinished(String var1, int var2) {
String var3 = "{\"buy\":{\"status\":\"finished\",\"product\":\"";
var3 = var3 + var1;
var3 = var3 + "\",\"result\":\"";
if (var2 == 1) {
var3 = var3 + "ok";
} else if (var2 == 0) {
var3 = var3 + "nobalance";
} else if (var2 == -1) {
var3 = var3 + "error";
}

var3 = var3 + "\"}}";
this.callJavaScriptJSON(var3);
}

public void setConnectionReference(Connection var1) {
this.connection = var1;
}
Expand Down
115 changes: 0 additions & 115 deletions client/src/main/java/com/aapeli/client/ApajaGames.java

This file was deleted.

7 changes: 0 additions & 7 deletions client/src/main/java/com/aapeli/client/AutoPopups.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ public class AutoPopups {

private Class78 aClass78_1327;
private Class88 aClass88_1328;
private Class85 aClass85_1329;
private long aLong1330;
private static final String aString1331 = "facebook";

Expand Down Expand Up @@ -39,8 +38,6 @@ public void gameFinished(boolean var1) {
this.method1562();
} else if (this.aClass88_1328 != null && this.aClass88_1328.method1700()) {
this.method1562();
} else if (this.aClass85_1329 != null && !var1 && this.aClass85_1329.method1678()) {
this.method1562();
}
}
}
Expand Down Expand Up @@ -78,10 +75,6 @@ public void close() {
this.aClass88_1328.method1701();
}

if (this.aClass85_1329 != null) {
this.aClass85_1329.method1679();
}

}
}

Expand Down
80 changes: 0 additions & 80 deletions client/src/main/java/com/aapeli/client/Badge.java

This file was deleted.

Loading

0 comments on commit 392c17d

Please sign in to comment.