METHOD_0 ( ) { java . lang . Integer [ ] data = new java . lang . Integer [ ] { 1 , 2 , 3 , 2 , 2 , 2 , 5 , 4 , 2 } ; "<AssertPlaceHolder>" ; } METHOD_1 ( T [ ] ) { com . google . common . base . IDENT_0 . METHOD_2 ( arr ) ; com . google . common . base . IDENT_0 . METHOD_3 ( ( ( arr . length ) != 0 ) ) ; T IDENT_1 = null ; int times = 0 ; for ( T IDENT_2 : arr ) { if ( java . util . IDENT_3 . equals ( IDENT_2 , IDENT_1 ) ) { times ++ ; } else if ( times == 0 ) { times = 1 ; IDENT_1 = IDENT_2 ; } else { times OP_0 ; } } return IDENT_4 . algorithm . IDENT_5 . METHOD_4 ( arr , IDENT_1 ) ? IDENT_1 : null ; }
org . junit . Assert . assertEquals ( java . lang . Integer . valueOf ( 2 ) , IDENT_4 . algorithm . IDENT_5 . METHOD_1 ( data ) )