net.fortytwo.flow.diff.NullDiffSink Maven / Gradle / Ivy
package net.fortytwo.flow.diff;
import net.fortytwo.flow.Sink;
import net.fortytwo.flow.NullSink;
/**
* A trivial diff sink which simply throws away all of its input
*
* @author Joshua Shinavier (http://fortytwo.net)
*/
public class NullDiffSink implements DiffSink
{
private final Sink nullSink = new NullSink();
public Sink getPlus()
{
return nullSink;
}
public Sink getMinus()
{
return nullSink;
}
}