soreLatestEntry: void
This commit is contained in:
parent
8063c611da
commit
ac1c027a17
@ -31,11 +31,10 @@ public class DataStoreBot {
|
||||
}
|
||||
}, 0, seconds, TimeUnit.SECONDS);
|
||||
}
|
||||
public Runnable storeLatestEntry() throws IOException, ParseException {
|
||||
public void storeLatestEntry() throws IOException, ParseException {
|
||||
JSONArray APIData = this.api.getJSONObject();
|
||||
JSONObject entry = (JSONObject) APIData.get(0);
|
||||
this.storeEntry(entry);
|
||||
return null;
|
||||
}
|
||||
public void storeEntry(JSONObject entry) throws IOException {
|
||||
System.out.println("entry => ");
|
||||
|
Loading…
Reference in New Issue
Block a user