stop concatenating debug strings

Signed-off-by: Ludovic Orban <lorban@bitronix.be>
This commit is contained in:
Ludovic Orban 2021-03-16 12:12:18 +01:00 committed by Simone Bordet
parent f3c96690db
commit dfcb673425
1 changed files with 10 additions and 10 deletions

View File

@ -200,11 +200,11 @@ public class QuicheConnection
if (rc < 0)
throw new IOException("failed to parse header: " + LibQuiche.quiche_error.errToString(rc));
LOG.debug("version: " + version);
LOG.debug("type: " + type);
LOG.debug("scid len: " + scid_len);
LOG.debug("dcid len: " + dcid_len);
LOG.debug("token len: " + token_len);
LOG.debug("version: {}", version);
LOG.debug("type: {}", type);
LOG.debug("scid len: {}", scid_len);
LOG.debug("dcid len: {}", dcid_len);
LOG.debug("token len: {}", token_len);
if (!INSTANCE.quiche_version_is_supported(version.getPointee()))
{
@ -270,11 +270,11 @@ public class QuicheConnection
if (rc < 0)
throw new IOException("failed to parse header: " + LibQuiche.quiche_error.errToString(rc));
LOG.debug("version: " + version);
LOG.debug("type: " + type);
LOG.debug("scid len: " + scid_len);
LOG.debug("dcid len: " + dcid_len);
LOG.debug("token len: " + token_len);
LOG.debug("version: {}", version);
LOG.debug("type: {}", type);
LOG.debug("scid len: {}", scid_len);
LOG.debug("dcid len: {}", dcid_len);
LOG.debug("token len: {}", token_len);
if (!INSTANCE.quiche_version_is_supported(version.getPointee()))
{