File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
debug-db/src/main/java/com/amitshekhar/server Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -374,17 +374,17 @@ private Response query(String sql) {
374374
375375 if (cursor .getCount () > 0 ) {
376376 do {
377- List < Object > row = new ArrayList <> ();
377+ List row = new ArrayList ();
378378 for (int i = 0 ; i < cursor .getColumnCount (); i ++) {
379379 switch (cursor .getType (i )) {
380380 case Cursor .FIELD_TYPE_BLOB :
381381 row .add (cursor .getBlob (i ));
382382 break ;
383383 case Cursor .FIELD_TYPE_FLOAT :
384- row .add (cursor .getFloat (i ));
384+ row .add (Float . valueOf ( cursor .getFloat (i ) ));
385385 break ;
386386 case Cursor .FIELD_TYPE_INTEGER :
387- row .add (cursor .getInt (i ));
387+ row .add (Integer . valueOf ( cursor .getInt (i ) ));
388388 break ;
389389 case Cursor .FIELD_TYPE_STRING :
390390 row .add (cursor .getString (i ));
You can’t perform that action at this time.
0 commit comments