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;
@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
String nextHop;
/**
- * HostRoute constructor
+ * HostRoute constructor.
*/
- public NeutronRoute() { }
+ public NeutronRoute() {
+ }
public String getDestination() {
return destination;
@Override
public String toString() {
- return "NeutronRoute [" +
- "destination=" + destination +
- ", nextHop=" + nextHop + "]";
+ return "NeutronRoute [" + "destination=" + destination + ", nextHop=" + nextHop + "]";
}
}