This class is no longer needed to be visible. Make it private and
static.
Change-Id: I30c612fca44aa993f29922fb1465ecdb16ea50c5
Signed-off-by: Robert Varga <rovarga@cisco.com>
this.targetNodeIdentifier = InstanceIdentifier.builder(Nodes.class).child(Node.class, targetNodeKey).build();
}
this.targetNodeIdentifier = InstanceIdentifier.builder(Nodes.class).child(Node.class, targetNodeKey).build();
}
- public class FlowEntry {
+ private static class FlowEntry {
private final Short tableId;
private final Flow flow;
private final Short tableId;
private final Flow flow;
public int hashCode() {
final int prime = 31;
int result = 1;
public int hashCode() {
final int prime = 31;
int result = 1;
- result = prime * result + getOuterType().hashCode();
result = prime * result + ((flow == null) ? 0 : flow.hashCode());
result = prime * result + ((tableId == null) ? 0 : tableId.hashCode());
return result;
result = prime * result + ((flow == null) ? 0 : flow.hashCode());
result = prime * result + ((tableId == null) ? 0 : tableId.hashCode());
return result;
if (getClass() != obj.getClass())
return false;
FlowEntry other = (FlowEntry) obj;
if (getClass() != obj.getClass())
return false;
FlowEntry other = (FlowEntry) obj;
- if (!getOuterType().equals(other.getOuterType()))
- return false;
if (flow == null) {
if (other.flow != null)
return false;
if (flow == null) {
if (other.flow != null)
return false;
return false;
return true;
}
return false;
return true;
}
-
- private NodeStatisticsHandler getOuterType() {
- return NodeStatisticsHandler.this;
- }
}
private static final class QueueEntry{
}
private static final class QueueEntry{