make final

This commit is contained in:
Shikhar Bhushan
2010-03-21 01:23:12 +01:00
parent bdb1fe73e3
commit 71b6cee424
4 changed files with 6 additions and 5 deletions

View File

@@ -54,7 +54,7 @@ public final class ChannelOutputStream
implements ErrorNotifiable { implements ErrorNotifiable {
private final Channel chan; private final Channel chan;
private Transport trans; private final Transport trans;
private final Window.Remote win; private final Window.Remote win;
private final SSHPacket buffer = new SSHPacket(); private final SSHPacket buffer = new SSHPacket();
private final byte[] b = new byte[1]; private final byte[] b = new byte[1];

View File

@@ -56,6 +56,8 @@ public class
extends AbstractDirectChannel extends AbstractDirectChannel
implements Session, Session.Command, Session.Shell, Session.Subsystem { implements Session, Session.Command, Session.Shell, Session.Subsystem {
private final ChannelInputStream err = new ChannelInputStream(this, trans, lwin);
private Integer exitStatus; private Integer exitStatus;
private Signal exitSignal; private Signal exitSignal;
@@ -64,8 +66,6 @@ public class
private Boolean canDoFlowControl; private Boolean canDoFlowControl;
private ChannelInputStream err = new ChannelInputStream(this, trans, lwin);
public SessionChannel(Connection conn) { public SessionChannel(Connection conn) {
super(conn, "session"); super(conn, "session");
} }

View File

@@ -47,8 +47,8 @@ import java.security.SignatureException;
public abstract class AbstractSignature public abstract class AbstractSignature
implements Signature { implements Signature {
protected final String algorithm;
protected java.security.Signature signature; protected java.security.Signature signature;
protected String algorithm;
protected AbstractSignature(String algorithm) { protected AbstractSignature(String algorithm) {
this.algorithm = algorithm; this.algorithm = algorithm;

View File

@@ -29,7 +29,8 @@ import java.security.PublicKey;
public abstract class KeyedAuthMethod public abstract class KeyedAuthMethod
extends AbstractAuthMethod { extends AbstractAuthMethod {
protected KeyProvider kProv;
protected final KeyProvider kProv;
public KeyedAuthMethod(String name, KeyProvider kProv) { public KeyedAuthMethod(String name, KeyProvider kProv) {
super(name); super(name);