mirror of
https://github.com/hierynomus/sshj.git
synced 2025-12-08 16:18:05 +03:00
make final
This commit is contained in:
@@ -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];
|
||||||
|
|||||||
@@ -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");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user