Cleanup eclipse warnings
[bgpcep.git] / bgp / parser-mock / src / test / java / org / opendaylight / protocol / bgp / parser / mock / BGPMessageParserMockTest.java
index 876fcfa5e5524fb59e803b80f1fc294f28207795..bd521ce847c56cf409cdf94ec576f1d9c49be4f9 100644 (file)
@@ -77,7 +77,7 @@ public class BGPMessageParserMockTest {
         // Creating input bytes and update messages
         for (int i = 0; i < this.inputBytes.length; i++) {
             this.inputBytes[i] = this.fillInputBytes(i);
-            this.messages.add(this.fillMessages(i));
+            this.messages.add(fillMessages(i));
         }
     }
 
@@ -143,7 +143,7 @@ public class BGPMessageParserMockTest {
      *
      * @param asn this parameter is passed to ASNumber constructor
      */
-    private Update fillMessages(final long asn) throws UnknownHostException {
+    private static Update fillMessages(final long asn) throws UnknownHostException {
 
         final UpdateBuilder builder = new UpdateBuilder();