private synchronized int METHOD_1 ( ) { int index = VAR_1 . METHOD_2 ( ) ; if ( index == ( VAR_2 . get ( ) ) ) { VAR_1 . set ( VAR_3 ) ; } return index ; }
private synchronized int METHOD_1 ( ) { int index = VAR_1 . METHOD_2 ( ) ; if ( index == ( ( VAR_2 . get ( ) ) - 1 ) ) { VAR_1 . set ( VAR_3 ) ; } return index ; }