transform modify method from SVNDiffBean to Generics