question: converts path to unix convention and adds a terminating slash if it was omitted concode_field_sep Logger logger concode_field_sep void downloadFile concode_elem_sep boolean ping concode_elem_sep String getFilePrefix concode_elem_sep String getFileExtension concode_elem_sep void main concode_elem_sep void copy concode_elem_sep String expandUserHome concode_elem_sep URLConnection prepareURLConnection
target: String function ( String arg0 ) { String loc0 = arg0 ; if ( loc0 . contains ( "srini_string" ) ) { loc0 = loc0 . replaceAll ( "srini_string" , "srini_string" ) ; } if ( loc0 . endsWith ( "srini_string" ) ) { loc0 = loc0 . substring ( 0 , loc0 . length ( ) - 1 ) ; } if ( ! loc0 . endsWith ( "srini_string" ) ) { loc0 = loc0 + "srini_string" ; } return loc0 ; }