public static < TYPE_1 > void METHOD_1 ( java.util.List < TYPE_1 > list , int index ) { int end = ( list . size ( ) ) - 1 ; TYPE_1 VAR_1 = list . remove ( end ) ; list . set ( index , VAR_1 ) ; }

public static < TYPE_1 > void METHOD_1 ( java.util.List < TYPE_1 > list , int index ) { int end = ( list . size ( ) ) - 1 ; TYPE_1 VAR_1 = list . remove ( end ) ; if ( index != end ) list . set ( index , VAR_1 ) ; }
