METHOD_0 ( ) { System . out . println ( ( ( ( com . IDENT_0 . iot . IDENT_1 . utils . IDENT_2 . METHOD_1 ( STRING_0 ) ) + STRING_1 ) + STRING_2 2 ) ) ; java . lang . String [ ] IDENT_3 = new java . lang . String [ ] { STRING_2 8 , STRING_3 , STRING_4 , STRING_2 3 , STRING_5 , STRING_2 0 } ; for ( java . lang . String offset : IDENT_3 ) { org . json . simple . JSONObject IDENT_4 = new org . json . simple . JSONObject ( ) ; IDENT_4 . put ( STRING_2 7 , STRING_6 ) ; IDENT_4 . put ( STRING_7 , STRING_2 ) ; IDENT_4 . put ( "value" , ( STRING_2 1 + offset ) ) ; org . json . simple . IDENT_5 IDENT_6 = new org . json . simple . METHOD_2 ( ) ; IDENT_6 . add ( IDENT_4 ) ; java . lang . String IDENT_7 = IDENT_6 . METHOD_3 ( ) ; java . lang . Long IDENT_8 = com . IDENT_0 . iot . IDENT_1 . utils . IDENT_9 . METHOD_4 ( IDENT_7 ) ; try { "<AssertPlaceHolder>" ; System . out . println ( ( ( ( ( ( ( com . IDENT_0 . iot . IDENT_1 . utils . IDENT_2 . METHOD_1 ( STRING_0 ) ) + STRING_2 5 ) + ( IDENT_6 . METHOD_3 ( ) ) ) + STRING_8 ) + IDENT_8 ) + STRING_2 4 ) ) ; } catch ( java . lang . IDENT_10 e ) { System . out . println ( ( ( com . IDENT_0 . iot . IDENT_1 . utils . IDENT_2 . METHOD_1 ( STRING_0 ) ) + STRING_2 6 ) ) ; throw e ; } } METHOD_4 ( java . lang . String ) { java . lang . Long res = null ; org . json . simple . parser . IDENT_11 parser = new org . json . simple . parser . METHOD_5 ( ) ; org . json . simple . METHOD_2 IDENT_12 ; try { IDENT_12 = ( ( org . json . simple . METHOD_2 ) ( parser . parse ( metadata ) ) ) ; } catch ( org . json . simple . parser . IDENT_13 e ) { com . IDENT_0 . iot . IDENT_1 . utils . IDENT_9 . LOGGER . error ( ( STRING_9 + ( e . getMessage ( ) ) ) ) ; return null ; } for ( java . lang . Object IDENT_14 : IDENT_12 ) { org . json . simple . JSONObject IDENT_15 = ( ( org . json . simple . JSONObject ) ( IDENT_14 ) ) ; java . lang . String IDENT_16 = ( ( java . lang . String ) ( IDENT_15 . get ( "name" ) ) ) ; if ( IDENT_16 . equals ( STRING_6 ) ) { java . lang . String IDENT_17 = ( ( java . lang . String ) ( IDENT_15 . get ( "value" ) ) ) ; if ( com . IDENT_0 . iot . IDENT_1 . utils . IDENT_9 . METHOD_6 ( IDENT_17 ) ) { res = new java . lang . Long ( IDENT_17 ) ; } else { org . joda . time . IDENT_18 IDENT_19 ; try { IDENT_19 = com . IDENT_0 . iot . IDENT_1 . utils . IDENT_9 . IDENT_20 . METHOD_7 ( IDENT_17 ) ; } catch ( java . lang . Exception IDENT_21 ) { com . IDENT_0 . iot . IDENT_1 . utils . IDENT_9 . LOGGER . debug ( IDENT_21 . getMessage ( ) ) ; try { IDENT_19 = com . IDENT_0 . iot . IDENT_1 . utils . IDENT_9 . IDENT_22 . METHOD_7 ( IDENT_17 ) ; } catch ( java . lang . Exception IDENT_23 ) { com . IDENT_0 . iot . IDENT_1 . utils . IDENT_9 . LOGGER . debug ( IDENT_23 . getMessage ( ) ) ; try { java . lang . String IDENT_24 = ( IDENT_17 . substring ( 0 , ( ( IDENT_17 . length ( ) ) - 4 ) ) ) + STRING_10 ; IDENT_19 = com . IDENT_0 . iot . IDENT_1 . utils . IDENT_9 . IDENT_22 . METHOD_7 ( IDENT_24 ) ; } catch ( java . lang . Exception IDENT_25 ) { com . IDENT_0 . iot . IDENT_1 . utils . IDENT_9 . LOGGER . debug ( IDENT_25 . getMessage ( ) ) ; try { IDENT_19 = com . IDENT_0 . iot . IDENT_1 . utils . IDENT_9 . IDENT_26 . METHOD_7 ( IDENT_17 ) ; } catch ( java . lang . Exception IDENT_27 ) { com . IDENT_0 . iot . IDENT_1 . utils . IDENT_9 . LOGGER . debug ( IDENT_27 . getMessage ( ) ) ; try { IDENT_19 = com . IDENT_0 . iot . IDENT_1 . utils . IDENT_9 . IDENT_28 . METHOD_7 ( IDENT_17 ) ; } catch ( java . lang . Exception IDENT_29 ) { com . IDENT_0 . iot . IDENT_1 . utils . IDENT_9 . LOGGER . debug ( IDENT_29 . getMessage ( ) ) ; try { java . lang . String IDENT_24 = IDENT_17 . substring ( 0 , ( ( IDENT_17 . length ( ) ) - 3 ) ) ; IDENT_19 = com . IDENT_0 . iot . IDENT_1 . utils . IDENT_9 . IDENT_28 . METHOD_7 ( IDENT_24 ) ; } catch ( java . lang . Exception IDENT_30 ) { com . IDENT_0 . iot . IDENT_1 . utils . IDENT_9 . LOGGER . debug ( IDENT_30 . getMessage ( ) ) ; try { IDENT_19 = com . IDENT_0 . iot . IDENT_1 . utils . IDENT_9 . IDENT_31 . METHOD_7 ( IDENT_17 ) ; } catch ( java . lang . Exception IDENT_32 ) { com . IDENT_0 . iot . IDENT_1 . utils . IDENT_9 . LOGGER . debug ( IDENT_32 . getMessage ( ) ) ; try { java . util . regex . IDENT_33 matcher = com . IDENT_0 . iot . IDENT_1 . utils . IDENT_9 . IDENT_34 . matcher ( IDENT_17 ) ; if ( matcher . matches ( ) ) { java . lang . String IDENT_24 = ( ( ( matcher . group ( 1 ) ) + STRING_11 ) + ( matcher . group ( 2 ) . substring ( 0 , 3 ) ) ) + ( matcher . group ( 3 ) ) ; IDENT_19 = com . IDENT_0 . iot . IDENT_1 . utils . IDENT_9 . IDENT_35 . METHOD_7 ( IDENT_24 ) ; } else { com . IDENT_0 . iot . IDENT_1 . utils . IDENT_9 . LOGGER . debug ( STRING_12 ) ; return null ; } } catch ( java . lang . Exception IDENT_36 ) { com . IDENT_0 . iot . IDENT_1 . utils . IDENT_9 . LOGGER . debug ( IDENT_36 . getMessage ( ) ) ; return null ; } } } } } } } } java . util . IDENT_37 IDENT_38 = IDENT_19 . METHOD_8 ( ) ; res = IDENT_38 . METHOD_9 ( ) ; } break ; } } return res ; }
org . junit . Assert . assertTrue ( ( IDENT_8 != null ) )