METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . data . update . IDENT_2 instance = new org . IDENT_0 . IDENT_1 . data . update . METHOD_1 ( ) ; instance . METHOD_2 ( METHOD_3 ( ) ) ; instance . METHOD_4 ( ) ; org . IDENT_0 . IDENT_1 . data . update . IDENT_3 . IDENT_4 result = instance . METHOD_5 ( ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( ) { org . IDENT_0 . IDENT_1 . data . update . METHOD_1 . LOGGER . debug ( STRING_0 ) ; final org . IDENT_0 . IDENT_1 . data . update . IDENT_3 . IDENT_4 IDENT_5 = new org . IDENT_0 . IDENT_1 . data . update . IDENT_3 . METHOD_6 ( ) ; if ( ( ( IDENT_6 ) != null ) && ( ! ( IDENT_6 . isEmpty ( ) ) ) ) { try { final int IDENT_7 = IDENT_8 . METHOD_7 ( IDENT_9 . IDENT_10 . IDENT_11 , INT_0 ) ; final int IDENT_12 = java . util . Calendar . getInstance ( ) . get ( Calendar . IDENT_13 ) ; boolean IDENT_14 = false ; for ( int y = IDENT_7 ; y <= IDENT_12 ; y ++ ) { final long val = java . lang . Long . METHOD_8 ( IDENT_6 . getProperty ( ( ( org . IDENT_0 . IDENT_1 . data . IDENT_15 . IDENT_16 . IDENT_17 ) + y ) , STRING_1 ) ) ; if ( val == 0 ) { IDENT_14 = true ; break ; } } final long IDENT_18 = java . lang . Long . METHOD_8 ( IDENT_6 . getProperty ( IDENT_16 . IDENT_19 , STRING_1 ) ) ; final long now = java . lang . System . currentTimeMillis ( ) ; final int IDENT_20 = IDENT_8 . METHOD_7 ( IDENT_9 . IDENT_10 . IDENT_21 , 7 ) ; java . lang . String url = IDENT_8 . getString ( IDENT_9 . IDENT_10 . IDENT_22 ) ; org . IDENT_0 . IDENT_1 . data . IDENT_3 . json . IDENT_23 IDENT_24 = METHOD_9 ( url ) ; if ( ( ! IDENT_14 ) && ( IDENT_18 == ( IDENT_24 . METHOD_10 ( ) ) ) ) { return IDENT_5 ; } else { IDENT_5 . add ( org . IDENT_0 . IDENT_1 . data . update . IDENT_25 , url , IDENT_24 . METHOD_10 ( ) , true ) ; if ( IDENT_14 || ( ! ( org . IDENT_0 . IDENT_1 . utils . IDENT_26 . METHOD_11 ( IDENT_18 , now , IDENT_20 ) ) ) ) { final int start = IDENT_8 . METHOD_7 ( IDENT_9 . IDENT_10 . IDENT_11 ) ; final int end = java . util . Calendar . getInstance ( ) . get ( Calendar . IDENT_13 ) ; final java . lang . String IDENT_27 = IDENT_8 . getString ( IDENT_9 . IDENT_10 . IDENT_28 ) ; for ( int i = start ; i <= end ; i ++ ) { url = java . lang . String . format ( IDENT_27 , i ) ; org . IDENT_0 . IDENT_1 . data . IDENT_3 . json . IDENT_23 meta = METHOD_9 ( url ) ; long IDENT_29 = 0 ; try { IDENT_29 = java . lang . Long . METHOD_8 ( IDENT_6 . getProperty ( ( ( org . IDENT_0 . IDENT_1 . data . IDENT_15 . IDENT_16 . IDENT_17 ) + i ) , STRING_1 ) ) ; } catch ( java . lang . IDENT_30 ex ) { org . IDENT_0 . IDENT_1 . data . update . METHOD_1 . LOGGER . debug ( STRING_2 , IDENT_16 . IDENT_17 , i , ex ) ; } if ( IDENT_29 < ( meta . METHOD_10 ( ) ) ) { IDENT_5 . add ( java . lang . Integer . toString ( i ) , url , meta . METHOD_10 ( ) , true ) ; } } } } } catch ( java . lang . IDENT_30 ex ) { org . IDENT_0 . IDENT_1 . data . update . METHOD_1 . LOGGER . warn ( STRING_3 ) ; org . IDENT_0 . IDENT_1 . data . update . METHOD_1 . LOGGER . debug ( "" , ex ) ; } catch ( org . IDENT_0 . IDENT_1 . utils . IDENT_31 ex ) { throw new org . IDENT_0 . IDENT_1 . data . update . exception . METHOD_12 ( STRING_4 , ex ) ; } } return IDENT_5 ; }
org . junit . Assert . assertNotNull ( result )