METHOD_0 ( ) { final org . IDENT_0 . IDENT_1 . common . IDENT_2 . IDENT_3 IDENT_4 = new org . IDENT_0 . IDENT_1 . common . IDENT_2 . METHOD_1 ( INT_0 ) ; java . util . List < java . lang . Thread > IDENT_5 = new java . util . ArrayList < java . lang . Thread > ( ) ; for ( int i = 0 ; i < 10 ; i ++ ) { java . lang . Thread IDENT_6 = new java . lang . Thread ( new java . lang . METHOD_2 ( ) { @ org . IDENT_0 . IDENT_1 . common . Override public void run ( ) { for ( int i = 0 ; i < 1000 ; i ++ ) { IDENT_4 . METHOD_3 ( org . IDENT_0 . IDENT_1 . common . IDENT_7 ) . with ( STRING_0 , ( ( ( STRING_1 + i ) + " " ) + ( java . lang . Thread . METHOD_4 ( ) . getId ( ) ) ) ) . METHOD_5 ( ) ; } } } ) ; IDENT_5 . add ( IDENT_6 ) ; } for ( int i = 0 ; i < 10 ; i ++ ) { IDENT_5 . get ( i ) . start ( ) ; } for ( int i = 0 ; i < 10 ; i ++ ) { IDENT_5 . get ( i ) . join ( ) ; } "<AssertPlaceHolder>" ; } METHOD_6 ( long ) { if ( IDENT_8 <= 0 ) { return messages ; } int index = METHOD_7 ( messages , new org . IDENT_0 . IDENT_1 . common . METHOD_3 . METHOD_8 ( org . IDENT_9 . util . IDENT_10 . now ( ) , IDENT_8 , org . IDENT_0 . IDENT_1 . common . METHOD_3 . IDENT_11 . IDENT_7 , null ) ) ; int position = java . lang . Math . METHOD_9 ( ( index + 1 ) ) ; if ( position >= ( messages . size ( ) ) ) { return org . IDENT_0 . IDENT_1 . common . METHOD_3 . Collections . emptyList ( ) ; } return messages . METHOD_10 ( position , messages . size ( ) ) ; }
org . junit . Assert . assertEquals ( INT_0 , IDENT_4 . METHOD_6 ( 0 ) . size ( ) )