File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/java/com/creatubbles/api/core Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -200,18 +200,18 @@ private void initResponse() {
200
200
201
201
private void initResponseSingle (JsonObject json ) {
202
202
responseCache = CreatubblesAPI .GSON .fromJson (json , getResponseClass ());
203
- updateResponse (responseCache , json );
203
+ updateResponse (responseCache );
204
204
}
205
205
206
206
@ SuppressWarnings ("unchecked" )
207
207
private void initResponseArray (JsonObject json ) {
208
208
responseArrayCache = (T []) CreatubblesAPI .GSON .fromJson (json , Array .newInstance (getResponseClass (), 0 ).getClass ());
209
209
for (int i = 0 ; i < responseArrayCache .length ; i ++) {
210
- updateResponse (responseArrayCache [i ], json );
210
+ updateResponse (responseArrayCache [i ]);
211
211
}
212
212
}
213
213
214
- private void updateResponse (T resp , JsonObject root ) {
214
+ private void updateResponse (T resp ) {
215
215
resp .handleId (resp .getId ());
216
216
resp .setOriginatingRequest (this );
217
217
}
You can’t perform that action at this time.
0 commit comments