Compare commits
No commits in common. "main" and "20240908125836" have entirely different histories.
main
...
2024090812
4 changed files with 5 additions and 12 deletions
2
.github/workflows/maven.yml
vendored
2
.github/workflows/maven.yml
vendored
|
@ -9,7 +9,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish:
|
||||||
runs-on: docker
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
|
@ -6,7 +6,6 @@ import java.nio.charset.StandardCharsets;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
import org.apache.commons.io.FileUtils;
|
import org.apache.commons.io.FileUtils;
|
||||||
import org.json.JSONException;
|
|
||||||
import org.json.JSONObject;
|
import org.json.JSONObject;
|
||||||
|
|
||||||
public class GuiData {
|
public class GuiData {
|
||||||
|
@ -81,15 +80,8 @@ public class GuiData {
|
||||||
|
|
||||||
localLevels.add(obj.getString("name"));
|
localLevels.add(obj.getString("name"));
|
||||||
id.add(obj.getInt("id") + "");
|
id.add(obj.getInt("id") + "");
|
||||||
|
|
||||||
try {
|
|
||||||
verifier.add(obj.getString("verifier"));
|
verifier.add(obj.getString("verifier"));
|
||||||
creator.add(obj.getString("author"));
|
creator.add(obj.getString("author"));
|
||||||
} catch (JSONException e) {
|
|
||||||
verifier.add(Long.toString(obj.getLong("verifier")));
|
|
||||||
creator.add(Long.toString(obj.getLong("author")));
|
|
||||||
}
|
|
||||||
|
|
||||||
qualification.add(obj.getInt("percentToQualify") + "");
|
qualification.add(obj.getInt("percentToQualify") + "");
|
||||||
ytlink.add(obj.getString("verification") + "");
|
ytlink.add(obj.getString("verification") + "");
|
||||||
creators.add(obj.getJSONArray("creators") + "");
|
creators.add(obj.getJSONArray("creators") + "");
|
||||||
|
|
|
@ -24,4 +24,5 @@ public class PreChecks {
|
||||||
migration.migrateData();
|
migration.migrateData();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue