mirror of
https://github.com/hierynomus/sshj.git
synced 2025-12-08 00:00:54 +03:00
Better argument order for IdentificationStringParser constructor.
This commit is contained in:
@@ -219,7 +219,7 @@ public final class TransportImpl
|
||||
*/
|
||||
private String readIdentification(Buffer.PlainBuffer buffer)
|
||||
throws IOException {
|
||||
String ident = new IdentificationStringParser(loggerFactory, buffer).parseIdentificationString();
|
||||
String ident = new IdentificationStringParser(buffer, loggerFactory).parseIdentificationString();
|
||||
if (ident.isEmpty()) {
|
||||
return ident;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user