🛠️ Code cleanup & added many new features #1

Merged
gnmyt merged 121 commits from features/code-cleanup into master 2021-09-02 13:34:00 +00:00
Showing only changes of commit f4f6546cae - Show all commits

View File

@ -131,7 +131,7 @@ public class SelectionManager {
StringBuilder query = new StringBuilder().append("SELECT * FROM ").append(tableName).append(" "); StringBuilder query = new StringBuilder().append("SELECT * FROM ").append(tableName).append(" ");
for (int i = 0; i < whereList.size(); i++) { for (int i = 0; i < whereList.size(); i++) {
if (i > 0) query.append("WHERE "); if (i == 0) query.append("WHERE ");
else query.append("AND "); else query.append("AND ");
query.append(whereList.keySet().toArray()[i]).append(" = ? "); query.append(whereList.keySet().toArray()[i]).append(" = ? ");