fix neutron.spi generics warnings INeutronObject/[Base|Admin]Attributes 27/70927/3
authorMichael Vorburger <vorburger@redhat.com>
Fri, 13 Apr 2018 19:27:44 +0000 (21:27 +0200)
committerMichael Vorburger <vorburger@redhat.com>
Tue, 17 Apr 2018 17:07:00 +0000 (19:07 +0200)
Change-Id: Id966e3bc59df29c79e93924894e625ce72ca5050
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
neutron-spi/src/main/java/org/opendaylight/neutron/spi/INeutronAdminAttributes.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/INeutronBaseAttributes.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/INeutronObject.java

index c9f0b5304276641d4030008237478199a1188e39..32851957459e55648bed21ea4fc1568f259d3a67 100644 (file)
@@ -11,7 +11,7 @@ package org.opendaylight.neutron.spi;
 /**
  * This class contains behaviour common to Neutron configuration objects.
  */
-public interface INeutronAdminAttributes<T extends INeutronAdminAttributes> extends INeutronBaseAttributes<T> {
+public interface INeutronAdminAttributes<T extends INeutronAdminAttributes<T>> extends INeutronBaseAttributes<T> {
 
     Boolean getAdminStateUp();
 
index 8f65e217ba3398a79d5200d188de6877a39b8dd2..0f30006b0c329c91a4e0b93444d2b1f6040149e8 100644 (file)
@@ -11,7 +11,7 @@ package org.opendaylight.neutron.spi;
 /**
  * This class contains behaviour common to Neutron configuration objects.
  */
-public interface INeutronBaseAttributes<T extends INeutronBaseAttributes> extends INeutronObject<T> {
+public interface INeutronBaseAttributes<T extends INeutronBaseAttributes<T>> extends INeutronObject<T> {
 
     String getName();
 
index dd3f2197fd8514eb39473bd5d6b889f68c73ec5e..df941619e1a27b5c0ab2193a4d040758773ca347 100644 (file)
@@ -14,7 +14,7 @@ import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.
 /**
  * This class contains behaviour common to Neutron configuration objects.
  */
-public interface INeutronObject<T extends INeutronObject> {
+public interface INeutronObject<T extends INeutronObject<T>> {
 
     String getID();