liblldp: final parameters
[controller.git] / opendaylight / commons / liblldp / src / test / java / org / opendaylight / controller / sal / packet / address / EthernetAddressTest.java
index 6c74e9d4b1a04f7f3e1d54ee5b7fba50dc5988d5..5730dc75e9884d39247001f24e0d345bb67b197c 100644 (file)
@@ -31,7 +31,7 @@ public class EthernetAddressTest {
 
             // Exception is expected if NOT raised test will fail
             Assert.assertTrue(false);
-        } catch (ConstructionException e) {
+        } catch (final ConstructionException e) {
         }
 
         // Array too short
@@ -40,7 +40,7 @@ public class EthernetAddressTest {
 
             // Exception is expected if NOT raised test will fail
             Assert.assertTrue(false);
-        } catch (ConstructionException e) {
+        } catch (final ConstructionException e) {
         }
 
         // Array too long
@@ -51,7 +51,7 @@ public class EthernetAddressTest {
 
             // Exception is expected if NOT raised test will fail
             Assert.assertTrue(false);
-        } catch (ConstructionException e) {
+        } catch (final ConstructionException e) {
         }
     }
 
@@ -66,7 +66,7 @@ public class EthernetAddressTest {
             ea2 = new EthernetAddress(new byte[] { (byte) 0x0, (byte) 0x0,
                     (byte) 0x0, (byte) 0x0, (byte) 0x0, (byte) 0x1 });
             Assert.assertTrue(ea1.equals(ea2));
-        } catch (ConstructionException e) {
+        } catch (final ConstructionException e) {
             // Exception is NOT expected if raised test will fail
             Assert.assertTrue(false);
         }
@@ -77,7 +77,7 @@ public class EthernetAddressTest {
 
             ea2 = ea1.clone();
             Assert.assertTrue(ea1.equals(ea2));
-        } catch (ConstructionException e) {
+        } catch (final ConstructionException e) {
             // Exception is NOT expected if raised test will fail
             Assert.assertTrue(false);
         }
@@ -88,7 +88,7 @@ public class EthernetAddressTest {
             ea2 = new EthernetAddress(new byte[] { (byte) 0xff, (byte) 0xff,
                     (byte) 0xff, (byte) 0xff, (byte) 0xff, (byte) 0xff });
             Assert.assertTrue(ea1.equals(ea2));
-        } catch (ConstructionException e) {
+        } catch (final ConstructionException e) {
             // Exception is NOT expected if raised test will fail
             Assert.assertTrue(false);
         }
@@ -105,7 +105,7 @@ public class EthernetAddressTest {
             ea2 = new EthernetAddress(new byte[] { (byte) 0x0, (byte) 0x0,
                     (byte) 0x0, (byte) 0x0, (byte) 0x0, (byte) 0x1 });
             Assert.assertTrue(!ea1.equals(ea2));
-        } catch (ConstructionException e) {
+        } catch (final ConstructionException e) {
             // Exception is NOT expected if raised test will fail
             Assert.assertTrue(false);
         }