METHOD_0 ( ) { org . apache . jackrabbit . oak . spi . state . IDENT_0 IDENT_1 = org . apache . jackrabbit . oak . plugins . IDENT_2 . IDENT_3 . builder ( ) . setProperty ( "foo" , STRING_0 ) . setProperty ( "bar" , INT_0 ) . setProperty ( STRING_1 , Math . IDENT_4 ) . METHOD_1 ( ) ; org . apache . jackrabbit . oak . spi . state . IDENT_0 IDENT_5 = writer . METHOD_2 ( IDENT_1 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( org . apache . jackrabbit . oak . spi . state . IDENT_0 ) { if ( state instanceof org . apache . jackrabbit . oak . plugins . IDENT_2 . IDENT_6 ) { org . apache . jackrabbit . oak . plugins . IDENT_2 . IDENT_6 IDENT_7 = METHOD_3 ( ( ( org . apache . jackrabbit . oak . plugins . IDENT_2 . IDENT_6 ) ( state ) ) ) ; if ( ( IDENT_7 != state ) || ( store . METHOD_4 ( IDENT_7 . METHOD_5 ( ) . METHOD_6 ( ) ) ) ) { return IDENT_7 ; } } org . apache . jackrabbit . oak . plugins . IDENT_2 . IDENT_6 IDENT_1 = null ; org . apache . jackrabbit . oak . plugins . IDENT_2 . IDENT_8 IDENT_9 = null ; org . apache . jackrabbit . oak . plugins . IDENT_10 . IDENT_11 IDENT_5 = null ; if ( state instanceof org . apache . jackrabbit . oak . plugins . IDENT_10 . IDENT_11 ) { IDENT_5 = ( ( org . apache . jackrabbit . oak . plugins . IDENT_10 . IDENT_11 ) ( state ) ) ; org . apache . jackrabbit . oak . spi . state . IDENT_0 base = IDENT_5 . METHOD_7 ( ) ; if ( base instanceof org . apache . jackrabbit . oak . plugins . IDENT_2 . IDENT_6 ) { org . apache . jackrabbit . oak . plugins . IDENT_2 . IDENT_6 IDENT_7 = METHOD_3 ( ( ( org . apache . jackrabbit . oak . plugins . IDENT_2 . IDENT_6 ) ( base ) ) ) ; if ( ( IDENT_7 != base ) || ( store . METHOD_4 ( IDENT_7 . METHOD_5 ( ) . METHOD_6 ( ) ) ) ) { IDENT_1 = IDENT_7 ; IDENT_9 = IDENT_1 . METHOD_8 ( ) ; } } } org . apache . jackrabbit . oak . plugins . IDENT_2 . IDENT_8 template = new org . apache . jackrabbit . oak . plugins . IDENT_2 . METHOD_9 ( state ) ; org . apache . jackrabbit . oak . plugins . IDENT_2 . IDENT_12 IDENT_13 ; if ( ( IDENT_1 != null ) && ( template . equals ( IDENT_9 ) ) ) { IDENT_13 = IDENT_1 . METHOD_10 ( ) ; } else { IDENT_13 = METHOD_11 ( template ) ; } java . util . List < org . apache . jackrabbit . oak . plugins . IDENT_2 . IDENT_12 > IDENT_14 = com . google . common . collect . Lists . newArrayList ( ) ; IDENT_14 . add ( IDENT_13 ) ; java . lang . String IDENT_15 = template . METHOD_12 ( ) ; if ( IDENT_15 == ( METHOD_9 . IDENT_16 ) ) { org . apache . jackrabbit . oak . plugins . IDENT_2 . IDENT_17 base ; final java . util . Map < java . lang . String , org . apache . jackrabbit . oak . plugins . IDENT_2 . IDENT_12 > IDENT_18 = com . google . common . collect . IDENT_19 . METHOD_13 ( ) ; if ( ( ( IDENT_1 != null ) && ( ( IDENT_1 . METHOD_14 ( 2 ) ) > 1 ) ) && ( ( IDENT_5 . METHOD_14 ( 2 ) ) > 1 ) ) { base = IDENT_1 . METHOD_15 ( ) ; IDENT_5 . METHOD_16 ( IDENT_1 , new org . apache . jackrabbit . oak . spi . state . METHOD_17 ( ) { @ org . apache . jackrabbit . oak . plugins . IDENT_2 . Override public boolean METHOD_18 ( java . lang . String name , org . apache . jackrabbit . oak . spi . state . IDENT_0 IDENT_5 ) { IDENT_18 . put ( name , METHOD_2 ( IDENT_5 ) . METHOD_5 ( ) ) ; return true ; } @ org . apache . jackrabbit . oak . plugins . IDENT_2 . Override public boolean METHOD_19 ( java . lang . String name , org . apache . jackrabbit . oak . spi . state . IDENT_0 IDENT_1 , org . apache . jackrabbit . oak . spi . state . IDENT_0 IDENT_5 ) { IDENT_18 . put ( name , METHOD_2 ( IDENT_5 ) . METHOD_5 ( ) ) ; return true ; } @ org . apache . jackrabbit . oak . plugins . IDENT_2 . Override public boolean METHOD_20 ( java . lang . String name , org . apache . jackrabbit . oak . spi . state . IDENT_0 IDENT_1 ) { IDENT_18 . put ( name , null ) ; return true ; } } ) ; } else { base = null ; for ( org . apache . jackrabbit . oak . spi . state . IDENT_20 entry : state . METHOD_21 ( ) ) { IDENT_18 . put ( entry . getName ( ) , METHOD_2 ( entry . METHOD_1 ( ) ) . METHOD_5 ( ) ) ; } } IDENT_14 . add ( METHOD_22 ( base , IDENT_18 ) . METHOD_5 ( ) ) ; } else if ( IDENT_15 != ( METHOD_9 . IDENT_21 ) ) { IDENT_14 . add ( METHOD_2 ( state . METHOD_23 ( template . METHOD_12 ( ) ) ) . METHOD_5 ( ) ) ; } for ( org . apache . jackrabbit . oak . plugins . IDENT_2 . IDENT_22 IDENT_23 : template . METHOD_24 ( ) ) { java . lang . String name = IDENT_23 . getName ( ) ; org . apache . jackrabbit . oak . api . IDENT_24 property = state . getProperty ( name ) ; if ( ( property instanceof org . apache . jackrabbit . oak . plugins . IDENT_2 . IDENT_25 ) && ( store . METHOD_4 ( ( ( org . apache . jackrabbit . oak . plugins . IDENT_2 . IDENT_25 ) ( property ) ) . METHOD_5 ( ) . METHOD_6 ( ) ) ) ) { IDENT_14 . add ( ( ( org . apache . jackrabbit . oak . plugins . IDENT_2 . IDENT_25 ) ( property ) ) . METHOD_5 ( ) ) ; } else if ( ( ! ( IDENT_1 instanceof org . apache . jackrabbit . oak . plugins . IDENT_2 . IDENT_6 ) ) || ( store . METHOD_4 ( ( ( org . apache . jackrabbit . oak . plugins . IDENT_2 . IDENT_6 ) ( IDENT_1 ) ) . METHOD_5 ( ) . METHOD_6 ( ) ) ) ) { IDENT_14 . add ( METHOD_25 ( property ) ) ; } else { org . apache . jackrabbit . oak . plugins . IDENT_2 . IDENT_22 IDENT_26 = IDENT_9 . METHOD_26 ( name ) ; if ( IDENT_26 == null ) { IDENT_14 . add ( METHOD_25 ( property ) ) ; } else { org . apache . jackrabbit . oak . plugins . IDENT_2 . IDENT_25 IDENT_27 = IDENT_9 . getProperty ( IDENT_1 . METHOD_5 ( ) , IDENT_26 . METHOD_27 ( ) ) ; if ( property . equals ( IDENT_27 ) ) { IDENT_14 . add ( IDENT_27 . METHOD_5 ( ) ) ; } else if ( ( IDENT_27 . METHOD_28 ( ) ) && ( ( IDENT_27 . getType ( ) ) != ( IDENT_28 ) ) ) { IDENT_14 . add ( METHOD_25 ( property , IDENT_27 . METHOD_29 ( ) ) ) ; } else { IDENT_14 . add ( METHOD_25 ( property ) ) ; } } } } MOD_0 ( this ) { org . apache . jackrabbit . oak . plugins . IDENT_2 . IDENT_12 IDENT_29 = METHOD_30 ( IDENT_30 . IDENT_31 , 0 , IDENT_14 ) ; for ( org . apache . jackrabbit . oak . plugins . IDENT_2 . IDENT_12 id : IDENT_14 ) { METHOD_31 ( id ) ; } return new org . apache . jackrabbit . oak . plugins . IDENT_2 . METHOD_32 ( IDENT_29 ) ; } }
org . junit . Assert . assertEquals ( IDENT_1 , IDENT_5 )