Skip to content

Commit

Permalink
Fix build failure
Browse files Browse the repository at this point in the history
Made new code using new constructor
  • Loading branch information
Zhen committed May 22, 2015
1 parent a074f2a commit 21f6d7d
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -29,6 +29,7 @@


import org.neo4j.kernel.impl.util.HexPrinter; import org.neo4j.kernel.impl.util.HexPrinter;
import org.neo4j.logging.NullLog; import org.neo4j.logging.NullLog;
import org.neo4j.ndp.messaging.v1.MessageFormat;
import org.neo4j.ndp.messaging.v1.PackStreamMessageFormatV1; import org.neo4j.ndp.messaging.v1.PackStreamMessageFormatV1;
import org.neo4j.ndp.messaging.v1.RecordingByteChannel; import org.neo4j.ndp.messaging.v1.RecordingByteChannel;
import org.neo4j.ndp.messaging.v1.message.Message; import org.neo4j.ndp.messaging.v1.message.Message;
Expand Down Expand Up @@ -69,7 +70,7 @@ public class FragmentedMessageDeliveryTest
// Only test one message for now. This can be parameterized later to test lots of different ones // Only test one message for now. This can be parameterized later to test lots of different ones
private Message[] messages = new Message[]{run( "Mjölnir" )}; private Message[] messages = new Message[]{run( "Mjölnir" )};


private PackStreamMessageFormatV1.Writer format = new PackStreamMessageFormatV1.Writer(); private MessageFormat.Writer format = new PackStreamMessageFormatV1().newWriter();


@Test @Test
public void testFragmentedMessageDelivery() throws Throwable public void testFragmentedMessageDelivery() throws Throwable
Expand Down

0 comments on commit 21f6d7d

Please sign in to comment.