mirror of
https://github.com/hierynomus/sshj.git
synced 2025-12-07 15:50:57 +03:00
Re-add public constructor used by Groovy
This commit is contained in:
@@ -30,6 +30,10 @@ public class IdentificationStringParser {
|
|||||||
|
|
||||||
private byte[] EXPECTED_START_BYTES = new byte[] {'S', 'S', 'H', '-'};
|
private byte[] EXPECTED_START_BYTES = new byte[] {'S', 'S', 'H', '-'};
|
||||||
|
|
||||||
|
public IdentificationStringParser(Buffer.PlainBuffer buffer) {
|
||||||
|
this(LoggerFactory.DEFAULT, buffer);
|
||||||
|
}
|
||||||
|
|
||||||
public IdentificationStringParser(LoggerFactory loggerFactory, Buffer.PlainBuffer buffer) {
|
public IdentificationStringParser(LoggerFactory loggerFactory, Buffer.PlainBuffer buffer) {
|
||||||
this.log = loggerFactory.getLogger(IdentificationStringParser.class);
|
this.log = loggerFactory.getLogger(IdentificationStringParser.class);
|
||||||
this.buffer = buffer;
|
this.buffer = buffer;
|
||||||
|
|||||||
Reference in New Issue
Block a user