METHOD_0 ( ) { java . util . List < org . onosproject . net . IDENT_0 . IDENT_1 > IDENT_2 = METHOD_1 ( ) ; java . util . List < org . onosproject . net . IDENT_0 . IDENT_1 > IDENT_3 = com . google . common . collect . Lists . newArrayList ( ) ; org . onosproject . net . IDENT_0 . IDENT_4 IDENT_5 = null ; org . onosproject . net . IDENT_0 . IDENT_4 IDENT_6 = new org . onosproject . net . IDENT_0 . METHOD_2 ( METHOD_3 ( ) , org . onosproject . net . IDENT_0 . IDENT_7 . IDENT_8 , new org . onosproject . store . service . METHOD_4 ( ) ) ; IDENT_6 = org . onosproject . net . IDENT_0 . METHOD_2 . METHOD_5 ( IDENT_6 , IDENT_2 ) ; org . onosproject . net . IDENT_0 . IDENT_9 < org . onosproject . net . IDENT_0 . IDENT_10 > IDENT_11 ; org . onosproject . net . IDENT_0 . IDENT_12 context = new org . onosproject . net . IDENT_0 . METHOD_6 ( IDENT_6 , IDENT_5 ) ; IDENT_11 = new org . onosproject . net . IDENT_0 . METHOD_7 ( IDENT_2 , IDENT_3 , context ) ; IDENT_13 . apply ( IDENT_11 ) ; org . onosproject . net . IDENT_0 . METHOD_7 IDENT_14 = IDENT_15 . IDENT_14 ; "<AssertPlaceHolder>" ; } apply ( org . onosproject . net . IDENT_0 . METHOD_7 ) { java . util . Optional < org . onosproject . net . IDENT_0 . METHOD_2 > IDENT_6 = context . METHOD_8 ( ) ; java . util . Optional < org . onosproject . net . IDENT_0 . METHOD_2 > IDENT_5 = context . METHOD_9 ( ) ; if ( ( METHOD_9 . METHOD_10 ( ) ) && ( METHOD_8 . METHOD_10 ( ) ) ) { org . onosproject . net . IDENT_0 . IDENT_1 IDENT_16 = METHOD_9 . get ( ) . METHOD_11 ( ) ; if ( ( METHOD_12 ( IDENT_16 ) ) && ( org . onosproject . net . METHOD_11 . IDENT_7 . IDENT_17 . equals ( METHOD_8 . get ( ) . state ( ) ) ) ) { METHOD_13 ( context ) ; return ; } } if ( ( ! ( METHOD_9 . METHOD_10 ( ) ) ) && ( ! ( METHOD_8 . METHOD_10 ( ) ) ) ) { IDENT_15 . METHOD_14 ( context ) ; return ; } java . util . List < org . onosproject . net . METHOD_11 . IDENT_18 > IDENT_19 = context . METHOD_15 ( ) ; java . util . List < org . onosproject . net . METHOD_11 . IDENT_18 > IDENT_20 = context . METHOD_16 ( ) ; java . util . List < org . onosproject . net . flow . IDENT_21 > IDENT_22 ; java . util . List < org . onosproject . net . flow . IDENT_21 > IDENT_23 ; if ( METHOD_8 . METHOD_10 ( ) ) { METHOD_17 ( METHOD_8 . get ( ) , IDENT_19 , org . onosproject . net . METHOD_11 . impl . IDENT_13 . IDENT_24 ) ; IDENT_22 = IDENT_19 . stream ( ) . map ( IDENT_18 :: IDENT_25 ) . METHOD_18 ( Collection :: stream ) . collect ( java . util . stream . IDENT_26 . toList ( ) ) ; } else { IDENT_22 = java . util . Collections . emptyList ( ) ; } if ( METHOD_9 . METHOD_10 ( ) ) { METHOD_17 ( METHOD_9 . get ( ) , IDENT_20 , org . onosproject . net . METHOD_11 . impl . IDENT_13 . IDENT_27 ) ; IDENT_23 = IDENT_20 . stream ( ) . map ( IDENT_18 :: IDENT_25 ) . METHOD_18 ( Collection :: stream ) . collect ( java . util . stream . IDENT_26 . toList ( ) ) ; } else { IDENT_23 = java . util . Collections . emptyList ( ) ; } java . util . List < org . onosproject . net . flow . IDENT_21 > IDENT_28 ; java . util . List < org . onosproject . net . flow . IDENT_21 > IDENT_29 ; IDENT_28 = IDENT_23 . stream ( ) . filter ( ( IDENT_30 ) -> IDENT_22 . stream ( ) . METHOD_19 ( IDENT_30 :: equals ) ) . collect ( java . util . stream . IDENT_26 . toList ( ) ) ; IDENT_29 = IDENT_23 . stream ( ) . filter ( ( IDENT_30 ) -> IDENT_22 . stream ( ) . METHOD_19 ( IDENT_30 :: IDENT_31 ) ) . collect ( java . util . stream . IDENT_26 . toList ( ) ) ; IDENT_22 . METHOD_20 ( IDENT_28 ) ; IDENT_22 . METHOD_20 ( IDENT_29 ) ; IDENT_23 . METHOD_20 ( IDENT_28 ) ; IDENT_23 . METHOD_20 ( IDENT_29 ) ; IDENT_28 . METHOD_20 ( IDENT_29 ) ; if ( ( ( IDENT_23 . isEmpty ( ) ) && ( IDENT_22 . isEmpty ( ) ) ) && ( IDENT_28 . isEmpty ( ) ) ) { IDENT_15 . METHOD_14 ( context ) ; return ; } org . onosproject . net . flow . IDENT_32 . Builder builder = org . onosproject . net . flow . IDENT_32 . builder ( ) ; IDENT_23 . METHOD_21 ( builder :: add ) ; IDENT_28 . METHOD_21 ( builder :: IDENT_33 ) ; IDENT_22 . METHOD_21 ( builder :: remove ) ; org . onosproject . net . flow . IDENT_34 IDENT_35 = new org . onosproject . net . flow . METHOD_22 ( ) { @ org . onosproject . net . METHOD_11 . impl . IDENT_13 . Override public void METHOD_23 ( org . onosproject . net . flow . IDENT_32 IDENT_36 ) { IDENT_15 . METHOD_14 ( context ) ; } @ org . onosproject . net . METHOD_11 . impl . IDENT_13 . Override public void METHOD_24 ( org . onosproject . net . flow . IDENT_32 IDENT_36 ) { IDENT_15 . METHOD_25 ( context ) ; } } ; org . onosproject . net . flow . IDENT_32 operations = builder . build ( IDENT_35 ) ; log . debug ( STRING_0 , METHOD_8 . map ( ( x ) -> x . key ( ) . toString ( ) ) . METHOD_26 ( STRING_1 ) , METHOD_9 . map ( ( x ) -> x . key ( ) . toString ( ) ) . METHOD_26 ( STRING_1 ) , operations . METHOD_27 ( ) . stream ( ) . METHOD_28 ( Set :: size ) . METHOD_29 ( ) , operations . METHOD_27 ( ) ) ; IDENT_37 . apply ( operations ) ; }
org . junit . Assert . assertEquals ( IDENT_14 , IDENT_11 )