import org.tmatesoft.svn.core.io.diff.SVNDiffWindowApplyBaton;
public class FakeSVNDiffWindowApplyBaton {
public static SVNDiffWindowApplyBaton create(File source, File target, MessageDigest digest) throws SVNException {
SVNDiffWindowApplyBaton baton = SVNDiffWindowApplyBaton.create(source, target, digest);
Field field;
try {
field = SVNDiffWindowApplyBaton.class.getDeclaredField("mySourceStream");
field.setAccessible(true);