package com.github.cstroe.svndumpgui.internal.writer;

import com.github.cstroe.svndumpgui.api.SvnDumpWriter;
import com.github.cstroe.svndumpgui.internal.AbstractSvnDumpConsumer;

import java.io.OutputStream;
import java.io.PrintStream;

public abstract class AbstractSvnDumpWriter extends AbstractSvnDumpConsumer implements SvnDumpWriter {
    private OutputStream os;
    private PrintStream ps;

    @Override
    public void writeTo(OutputStream os) {
        this.os = os;
        this.ps = new PrintStream(os);
    }

    @SuppressWarnings("unused")
    public OutputStream os() {
        return os;
    }

    public PrintStream ps() {
        assert ps != null;
        return ps;
    }
}

@@ -339,37 +339,8 @@
 r %7B%0A
-    private OutputStream os;%0A
     
@@ -363,16 +363,16 @@
 eam ps;%0A
+
 %0A    @Ov
@@ -425,30 +425,8 @@
 ) %7B%0A
-        this.os = os;%0A
     
@@ -471,97 +471,8 @@
  %7D%0A%0A
-    @SuppressWarnings(%22unused%22)%0A    public OutputStream os() %7B%0A        return os;%0A    %7D%0A%0A
     

Remove unused field and accessor.