METHOD_0 ( ) { new org . apache . hadoop . IDENT_0 . impl . METHOD_1 ( ) . add ( STRING_0 , INT_0 ) . add ( STRING_1 , STRING_2 6 ) . save ( org . apache . hadoop . IDENT_0 . impl . IDENT_1 . METHOD_2 ( STRING_3 ) ) ; final org . apache . hadoop . IDENT_0 . impl . IDENT_2 IDENT_3 = new org . apache . hadoop . IDENT_0 . impl . METHOD_3 ( STRING_2 4 ) ; IDENT_3 . start ( ) ; final int IDENT_4 = 10 ; final org . apache . hadoop . IDENT_0 . impl . IDENT_5 . IDENT_6 IDENT_7 = new org . apache . hadoop . IDENT_0 . impl . IDENT_5 . METHOD_4 ( IDENT_4 ) ; IDENT_3 . METHOD_5 ( STRING_4 , STRING_5 , IDENT_7 ) ; final org . apache . hadoop . IDENT_0 . impl . IDENT_5 . IDENT_8 [ ] IDENT_9 = new org . apache . hadoop . IDENT_0 . impl . IDENT_5 . IDENT_8 [ IDENT_4 ] ; final java . lang . Thread [ ] IDENT_10 = new java . lang . Thread [ IDENT_4 ] ; final java . lang . String [ ] results = new java . lang . String [ IDENT_4 ] ; final org . apache . hadoop . IDENT_0 . impl . IDENT_11 IDENT_12 = new org . apache . hadoop . IDENT_0 . impl . METHOD_6 ( IDENT_4 ) ; final org . apache . hadoop . IDENT_0 . impl . METHOD_6 IDENT_13 = new org . apache . hadoop . IDENT_0 . impl . METHOD_6 ( IDENT_4 ) ; for ( int i = 0 ; i < IDENT_4 ; i ++ ) { IDENT_9 [ i ] = IDENT_3 . METHOD_7 ( ( STRING_2 + i ) , STRING_2 0 , new org . apache . hadoop . IDENT_0 . impl . IDENT_5 . METHOD_8 ( ( STRING_2 7 + i ) ) ) ; IDENT_10 [ i ] = new java . lang . Thread ( new java . lang . METHOD_9 ( ) { MOD_0 boolean METHOD_10 ( int IDENT_14 , org . apache . hadoop . IDENT_0 . impl . METHOD_6 IDENT_15 ) { try { IDENT_12 . METHOD_11 ( 2 , TimeUnit . IDENT_16 ) ; } catch ( java . lang . IDENT_17 e ) { results [ IDENT_14 ] = STRING_6 ; return false ; } catch ( org . apache . hadoop . IDENT_0 . impl . IDENT_18 e ) { results [ IDENT_14 ] = STRING_2 1 ; return false ; } catch ( org . apache . hadoop . IDENT_0 . impl . IDENT_19 e ) { results [ IDENT_14 ] = STRING_7 ; return false ; } return true ; } @ org . apache . hadoop . IDENT_0 . impl . Override public void run ( ) { int IDENT_14 = java . lang . Integer . METHOD_12 ( java . lang . Thread . METHOD_13 ( ) . getName ( ) ) ; if ( ( IDENT_7 . IDENT_20 [ IDENT_14 ] . get ( ) ) != 0L ) { results [ IDENT_14 ] = STRING_8 ; return ; } IDENT_9 [ IDENT_14 ] . IDENT_21 . set ( INT_1 ) ; if ( ! ( METHOD_10 ( IDENT_14 , IDENT_12 ) ) ) return ; IDENT_3 . METHOD_14 ( ) ; if ( ! ( METHOD_10 ( IDENT_14 , IDENT_13 ) ) ) return ; if ( ( IDENT_7 . IDENT_20 [ IDENT_14 ] . get ( ) ) != INT_2 ) { results [ IDENT_14 ] = STRING_9 ; return ; } results [ IDENT_14 ] = STRING_2 5 ; } } , ( STRING_2 2 + i ) ) ; } for ( java . lang . Thread t : IDENT_10 ) t . start ( ) ; for ( java . lang . Thread t : IDENT_10 ) t . join ( ) ; boolean IDENT_22 = true ; java . lang . String IDENT_23 = STRING_2 2 ; for ( java . lang . String r : results ) { IDENT_23 += r + STRING_2 3 ; IDENT_22 = IDENT_22 && ( r . equalsIgnoreCase ( STRING_2 5 ) ) ; } "<AssertPlaceHolder>" ; IDENT_3 . METHOD_15 ( ) ; IDENT_3 . METHOD_16 ( ) ; } join ( ) { IDENT_24 . join ( ) ; }
org . junit . Assert . assertTrue ( IDENT_23 , IDENT_22 )