Remove trailing whitespace
[openflowjava.git] / openflow-protocol-impl / src / test / java / org / opendaylight / openflowjava / protocol / impl / core / OFDecoderTest.java
index 27a1bff46ec0b2e1be6f576751a0ce578273b00c..917f9b920f30543a5405529c30c34210d2b0a7ec 100644 (file)
@@ -44,7 +44,7 @@ public class OFDecoderTest {
 
     /**
      * Sets up test environment
-     * 
+     *
      */
     @Before
     public void setUp() {
@@ -57,7 +57,7 @@ public class OFDecoderTest {
     }
 
     /**
-     * 
+     *
      */
     @Test
     public void testDecode() {
@@ -74,7 +74,7 @@ public class OFDecoderTest {
     }
 
     /**
-     * 
+     *
      */
     @Test
     public void testDecodeDeserializeException() {
@@ -84,17 +84,16 @@ public class OFDecoderTest {
         try {
             ofDecoder.decode(mockChHndlrCtx, inMsg, outList);
         } catch (Exception e) {
-            System.out.println("a");
             Assert.fail();
         }
 
         // Verify that the message buf was released...
         assertEquals( 0, outList.size() ) ;
-        assertEquals( 1, writeObj.refCnt() ) ;
+        assertEquals( 0, writeObj.refCnt() ) ;
     }
 
     /**
-     * 
+     *
      */
     @Test
     public void testDecodeDeserializeNull() {
@@ -109,6 +108,6 @@ public class OFDecoderTest {
 
         // Verify that the message buf was released...
         assertEquals( 0, outList.size() ) ;
-        assertEquals( 1, writeObj.refCnt() ) ;
+        assertEquals( 0, writeObj.refCnt() ) ;
     }
 }