This code is completly bullshit, I truly hope that this code has been written by some monkey, or kid ( <10 y.o ), public static each method ?? .idea ??? packages with capital letter ?? out folder ??
File contactsFile = new File(DATA_PATH + "Contacts.json");
if (!contactsFile.exists()) {
contactsFile.createNewFile();
writeToFile(DATA_PATH + "Contacts.json", new JSONArray().toString(), false);
}
location = dirPath + "PaymentsApp/";
File workingDir = new File(location);
if (!workingDir.exists()) {
workingDir.delete();
JSONObject result = new JSONObject();
JSONObject contentObject = new JSONObject();
contentObject.put("response", "User's Wallet Missing!");
result.put("data", contentObject);
result.put("message", "");
result.put("status", "false");
result.put("error_code", 403);
return result.toString();
}
File bnk00file = new File(location + "BNK00.json");
File bnk01file = new File(location + "BNK01.json");
File bnk10file = new File(location + "BNK10.json");
File bnk11file = new File(location + "BNK11.json");
File tokenMapFile = new File(location + "TokenMap.json");
This code is completly bullshit, I truly hope that this code has been written by some monkey, or kid ( <10 y.o ), public static each method ?? .idea ??? packages with capital letter ?? out folder ??
Guys, please dont ever touch keyboard !!!
https://github.com/rubixchain/rubixcorejava/blob/0c008e1f6b986b2fd4ba84accb3b8892b078a5b6/src/com/rubix/AuthenticateNode/SecretShare.java#L6-L89
https://github.com/rubixchain/rubixcorejava/blob/0c008e1f6b986b2fd4ba84accb3b8892b078a5b6/src/com/rubix/Resources/IPFSNetwork.java#L85-L194
I dont fcking know how to express my emotions