X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=northbound-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fneutron%2Fnorthbound%2Fapi%2FNeutronSecurityGroupsNorthbound.java;h=77aba65d3545165ba742cd1954134e3bc4973294;hb=3b49549f18b9c28daeb7777e67b0b0f8ec172c18;hp=eeb3597443eeee1ab9d4cc6345ddff5af0abe64d;hpb=7dac44e1793e93d389a136440c01d8820b213b57;p=neutron.git diff --git a/northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronSecurityGroupsNorthbound.java b/northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronSecurityGroupsNorthbound.java index eeb359744..77aba65d3 100644 --- a/northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronSecurityGroupsNorthbound.java +++ b/northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronSecurityGroupsNorthbound.java @@ -55,11 +55,6 @@ public class NeutronSecurityGroupsNorthbound extends return RESOURCE_NAME; } - @Override - protected NeutronSecurityGroup extractFields(NeutronSecurityGroup o, List fields) { - return o.extractFields(fields); - } - @Override protected NeutronSecurityGroupRequest newNeutronRequest(NeutronSecurityGroup o) { return new NeutronSecurityGroupRequest(o); @@ -104,7 +99,7 @@ public class NeutronSecurityGroupsNorthbound extends && (querySecurityGroupName == null || querySecurityGroupName.equals(nsg.getSecurityGroupName())) && (querySecurityTenantID == null || querySecurityTenantID.equals(nsg.getTenantID()))) { if (fields.size() > 0) { - ans.add(extractFields(nsg, fields)); + ans.add(nsg.extractFields(fields)); } else { ans.add(nsg); }