From a2f94729ba672fedcdbc9d76aff140b917c870e3 Mon Sep 17 00:00:00 2001 From: Faiz Khan Date: Sun, 4 Jan 2015 03:23:51 -0600 Subject: [PATCH] Remove usage of toString to test NullPointerException --- .../src/test/java/test/ethereum/net/HelloMessageTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethereumj-core/src/test/java/test/ethereum/net/HelloMessageTest.java b/ethereumj-core/src/test/java/test/ethereum/net/HelloMessageTest.java index d6a5a5f6..7d2c2ebf 100644 --- a/ethereumj-core/src/test/java/test/ethereum/net/HelloMessageTest.java +++ b/ethereumj-core/src/test/java/test/ethereum/net/HelloMessageTest.java @@ -88,7 +88,7 @@ public class HelloMessageTest { String peerId = ""; //null id HelloMessage helloMessage = new HelloMessage(version, clientStr, capabilities, listenPort, peerId); - logger.info(helloMessage.toString()); + //logger.info(helloMessage.toString()); assertEquals(P2pMessageCodes.HELLO, helloMessage.getCommand()); assertEquals(version, helloMessage.getP2PVersion());