Re-add public constructor used by Groovy

This commit is contained in:
David Solin
2016-08-24 08:08:33 -05:00
parent 819d411cf1
commit 79c1ae2bb0

View File

@@ -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;