METHOD_0 ( ) { org . locationtech . IDENT_0 . repository . IDENT_1 < java . lang . String > IDENT_2 = new org . locationtech . IDENT_0 . repository . IDENT_1 < java . lang . String > ( ) { @ org . locationtech . IDENT_0 . repository . Override MOD_0 java . lang . String METHOD_1 ( ) { return STRING_0 ; } } ; "<AssertPlaceHolder>" ; } call ( ) { METHOD_2 ( db . METHOD_3 ( ) , STRING_1 ) ; final org . locationtech . IDENT_0 . model . IDENT_3 . IDENT_4 IDENT_5 = ( org . locationtech . IDENT_0 . model . IDENT_3 . class . equals ( type ) ) ? null : IDENT_3 . IDENT_4 . valueOf ( type ) ; final java . lang . String tableName = db . METHOD_4 ( IDENT_5 , null ) ; final int IDENT_6 = IDENT_7 . size ( ) ; final java . lang . String sql = java . lang . String . format ( STRING_2 , tableName ) ; java . util . Map < org . locationtech . IDENT_0 . model . IDENT_8 , byte [ ] > IDENT_9 = new java . util . HashMap ( ) ; try ( java . sql . IDENT_10 IDENT_11 = org . locationtech . IDENT_0 . storage . IDENT_12 . config . IDENT_13 . METHOD_5 ( db . IDENT_14 ) ) { final java . sql . IDENT_15 array = METHOD_6 ( IDENT_11 , IDENT_7 ) ; try ( java . sql . IDENT_16 IDENT_17 = IDENT_11 . METHOD_7 ( log ( sql , IDENT_18 . LOG , IDENT_7 ) ) ) { IDENT_17 . METHOD_8 ( IDENT_6 ) ; IDENT_17 . METHOD_9 ( 1 , array ) ; try ( java . sql . ResultSet rs = IDENT_17 . METHOD_10 ( ) ) { while ( rs . next ( ) ) { org . locationtech . IDENT_0 . model . IDENT_8 id = org . locationtech . IDENT_0 . storage . IDENT_12 . config . IDENT_19 . valueOf ( rs , 1 ) . METHOD_11 ( ) ; byte [ ] bytes = rs . getBytes ( 4 ) ; IDENT_9 . put ( id , bytes ) ; } } } } java . util . List < org . locationtech . IDENT_0 . storage . IDENT_20 < T > > IDENT_21 = new java . util . ArrayList ( IDENT_6 ) ; for ( org . locationtech . IDENT_0 . model . IDENT_22 n : IDENT_7 ) { org . locationtech . IDENT_0 . model . IDENT_8 id = n . METHOD_12 ( ) ; byte [ ] bytes = IDENT_9 . get ( id ) ; if ( bytes == null ) { IDENT_23 . METHOD_13 ( n . METHOD_12 ( ) ) ; } else { org . locationtech . IDENT_0 . model . IDENT_3 obj = IDENT_18 . IDENT_24 . decode ( id , bytes ) ; if ( ( IDENT_5 == null ) || ( IDENT_5 . equals ( obj . getType ( ) ) ) ) { IDENT_23 . found ( id , null ) ; org . locationtech . IDENT_0 . storage . IDENT_20 < T > info = org . locationtech . IDENT_0 . storage . IDENT_20 . of ( n , type . METHOD_14 ( obj ) ) ; IDENT_21 . add ( info ) ; IDENT_25 . put ( obj ) ; } else { IDENT_23 . METHOD_13 ( n . METHOD_12 ( ) ) ; } } } return IDENT_21 ; }
org . junit . Assert . assertEquals ( STRING_0 , IDENT_2 . call ( ) )