Drop unused err PrintWriter in Receive
When we moved all of the error processing into ReceiveCommits we stopped needing this PrintWriter. Change-Id: I4bc7d33e128173ef43aacbe50a6af503e455537b Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
@@ -24,7 +24,6 @@ import org.eclipse.jgit.transport.ReceivePack;
|
||||
import org.kohsuke.args4j.Option;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.PrintWriter;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
@@ -55,7 +54,6 @@ final class Receive extends AbstractGitCommand {
|
||||
@Override
|
||||
protected void runImpl() throws IOException, Failure {
|
||||
final ReceiveCommits receive = factory.create(projectControl, repo);
|
||||
final PrintWriter msg = toPrintWriter(err);
|
||||
|
||||
ReceiveCommits.Capable r = receive.canUpload();
|
||||
if (r != ReceiveCommits.Capable.OK) {
|
||||
|
Reference in New Issue
Block a user