METHOD_0 ( ) { org . apache . hadoop . hive . conf . IDENT_0 conf = new org . apache . hadoop . hive . conf . METHOD_1 ( ) ; java . lang . String IDENT_1 = STRING_0 ; java . util . List < java . lang . String > expected = java . util . Arrays . asList ( IDENT_1 ) ; java . util . List < java . lang . String > actual = org . apache . hive . service . auth . ldap . IDENT_2 . METHOD_2 ( conf , IDENT_1 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( org . apache . hadoop . hive . conf . METHOD_1 , java . lang . String ) { if ( ( org . apache . hive . service . auth . ldap . IDENT_2 . METHOD_3 ( user ) ) || ( org . apache . hive . service . auth . ldap . IDENT_2 . METHOD_4 ( user ) ) ) { return java . util . Collections . singletonList ( user ) ; } java . lang . String IDENT_3 = conf . METHOD_5 ( METHOD_1 . IDENT_4 . IDENT_5 ) ; if ( org . apache . commons . lang . StringUtils . METHOD_6 ( IDENT_3 ) ) { return java . util . Collections . singletonList ( ( ( user + STRING_1 ) + IDENT_3 ) ) ; } java . util . List < java . lang . String > IDENT_6 = org . apache . hive . service . auth . ldap . IDENT_2 . METHOD_7 ( conf , METHOD_1 . IDENT_4 . IDENT_7 ) ; if ( IDENT_6 . isEmpty ( ) ) { return java . util . Collections . singletonList ( user ) ; } java . util . List < java . lang . String > IDENT_8 = new java . util . ArrayList ( ) ; for ( java . lang . String IDENT_9 : IDENT_6 ) { IDENT_8 . add ( IDENT_9 . replaceAll ( STRING_2 , user ) ) ; } return IDENT_8 ; }
org . junit . Assert . assertEquals ( expected , actual )