Optimize the paste

Former-commit-id: 3ef7b4c88e9cbeb694af3a58e94b6696459f83fa [formerly 76ebebd2c3bfef94b23429c0b9242bd2fbe65175]
Former-commit-id: 516d19f2c90892b6f27922993f391c5575ba063b
This commit is contained in:
Ghost_chu committed 2019-11-23 14:44:21 +08:00
1 parent eabaf53ca4
commit ef9817a858
1 file changed
+4 -6
@@ -184,14 +184,12 @@ public class Paste {
}
finalReport.append("================================================\n");
finalReport.append("Shops in DB:\n");
plugin.getShopLoader().getOriginShopsInDatabase().forEach((shopDatabaseInfoOrigin -> {
finalReport.append("\t").append(shopDatabaseInfoOrigin.toString()).append("\n");
}));
plugin.getShopLoader().getOriginShopsInDatabase().forEach((shopDatabaseInfoOrigin -> finalReport.append("\t").append(shopDatabaseInfoOrigin.toString()).append("\n")));
finalReport.append("Total: ").append(plugin.getShopLoader().getOriginShopsInDatabase().size()).append("\n");
finalReport.append("================================================\n");
finalReport.append("Shops in Mem:\n");
plugin.getShopLoader().getShopsInDatabase().forEach((shop -> {
finalReport.append("\t").append(shop.toString()).append("\n");
}));
plugin.getShopLoader().getShopsInDatabase().forEach((shop -> finalReport.append("\t").append(shop.toString()).append("\n")));
finalReport.append("Total: ").append(plugin.getShopLoader().getShopsInDatabase().size()).append("\n");
finalReport.append("================================================\n");
//Process the data to protect passwords.