checkstyle: enable SummaryJavadoc
[neutron.git] / neutron-spi / src / main / java / org / opendaylight / neutron / spi / NeutronRoute.java
index 7c80560c1a040744dfbaed9729cad22bf052722f..b5031ca9895dc2e7dcf466740d7628539663f358 100644 (file)
@@ -9,7 +9,6 @@
 package org.opendaylight.neutron.spi;
 
 import java.io.Serializable;
-
 import javax.xml.bind.annotation.XmlAccessType;
 import javax.xml.bind.annotation.XmlAccessorType;
 import javax.xml.bind.annotation.XmlElement;
@@ -17,7 +16,7 @@ import javax.xml.bind.annotation.XmlRootElement;
 
 @XmlRootElement
 @XmlAccessorType(XmlAccessType.NONE)
-public class NeutronRoute implements Serializable {
+public final class NeutronRoute implements Serializable {
     private static final long serialVersionUID = 1L;
 
     // See OpenStack Network API v2.0 Reference for description of
@@ -30,9 +29,10 @@ public class NeutronRoute implements Serializable {
     String nextHop;
 
     /**
-     *  HostRoute constructor
+     *  HostRoute constructor.
      */
-    public NeutronRoute() { }
+    public NeutronRoute() {
+    }
 
     public String getDestination() {
         return destination;
@@ -52,9 +52,7 @@ public class NeutronRoute implements Serializable {
 
     @Override
     public String toString() {
-        return "NeutronRoute [" +
-            "destination=" + destination +
-            ", nextHop=" + nextHop + "]";
+        return "NeutronRoute [" + "destination=" + destination + ", nextHop=" + nextHop + "]";
     }
 
 }