commit | 460b97251bc5e0dd5fc18a94e97c13b47f5e811c | [log] [tgz] |
---|---|---|
author | Sho SHIMIZU <sshimizu@us.fujitsu.com> | Thu Jan 28 10:48:26 2016 -0800 |
committer | Sho SHIMIZU <sshimizu@us.fujitsu.com> | Thu Jan 28 13:43:21 2016 -0800 |
tree | fb8026d8ca89adbda8ca2167b3017ee2c42fbab4 | |
parent | 763be9211809ff24c2334ba6120e281827c6f32c [diff] [blame] |
Move static factory methods to the utility class Change-Id: Icf458adf78f51823e4ffa31346595fa9716485bf
diff --git a/core/api/src/main/java/org/onosproject/net/newresource/DiscreteResourceId.java b/core/api/src/main/java/org/onosproject/net/newresource/DiscreteResourceId.java index 804dfba..4b83344 100644 --- a/core/api/src/main/java/org/onosproject/net/newresource/DiscreteResourceId.java +++ b/core/api/src/main/java/org/onosproject/net/newresource/DiscreteResourceId.java
@@ -50,14 +50,14 @@ public DiscreteResourceId child(Object child) { checkArgument(!(child instanceof Class<?>)); - return Resource.discrete(this, child).id(); + return Resources.discrete(this, child).id(); } @Override public ContinuousResourceId child(Class<?> child) { checkNotNull(child); - return Resource.continuous(this, child).id(); + return Resources.continuous(this, child).id(); } @Override