All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.fortytwo.flow.diff.NullDiffSink Maven / Gradle / Ivy

There is a newer version: 1.5
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy