File tree Expand file tree Collapse file tree
src/main/java/com/creatubbles/api/core Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -200,18 +200,18 @@ private void initResponse() {
200200
201201 private void initResponseSingle (JsonObject json ) {
202202 responseCache = CreatubblesAPI .GSON .fromJson (json , getResponseClass ());
203- updateResponse (responseCache , json );
203+ updateResponse (responseCache );
204204 }
205205
206206 @ SuppressWarnings ("unchecked" )
207207 private void initResponseArray (JsonObject json ) {
208208 responseArrayCache = (T []) CreatubblesAPI .GSON .fromJson (json , Array .newInstance (getResponseClass (), 0 ).getClass ());
209209 for (int i = 0 ; i < responseArrayCache .length ; i ++) {
210- updateResponse (responseArrayCache [i ], json );
210+ updateResponse (responseArrayCache [i ]);
211211 }
212212 }
213213
214- private void updateResponse (T resp , JsonObject root ) {
214+ private void updateResponse (T resp ) {
215215 resp .handleId (resp .getId ());
216216 resp .setOriginatingRequest (this );
217217 }
You can’t perform that action at this time.
0 commit comments