mirror of
https://github.com/hierynomus/sshj.git
synced 2025-12-06 07:10:53 +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', '-'};
|
||||
|
||||
public IdentificationStringParser(Buffer.PlainBuffer buffer) {
|
||||
this(LoggerFactory.DEFAULT, buffer);
|
||||
}
|
||||
|
||||
public IdentificationStringParser(LoggerFactory loggerFactory, Buffer.PlainBuffer buffer) {
|
||||
this.log = loggerFactory.getLogger(IdentificationStringParser.class);
|
||||
this.buffer = buffer;
|
||||
|
||||
Reference in New Issue
Block a user