commit | d7d18005e83827a9586b3f35bbb0311bd4939e3a | [log] [tgz] |
---|---|---|
author | Sho SHIMIZU <sshimizu@us.fujitsu.com> | Wed Jan 21 14:37:14 2015 -0800 |
committer | Ray Milkey <ray@onlab.us> | Thu Jan 22 19:03:58 2015 +0000 |
tree | 8610b4974c555980d2f674f2ffeed0dd9010462a | |
parent | 166e61e47fbe1a8de32498b1160e0ffcbdf38d31 [diff] [blame] |
Prohibit null for resources field in Intent Change-Id: I128c6e63ccccaf817e83ff1c440a731fb98b42f7
diff --git a/core/api/src/test/java/org/onosproject/net/intent/TestIntent.java b/core/api/src/test/java/org/onosproject/net/intent/TestIntent.java index 5cdc187..b3a8679 100644 --- a/core/api/src/test/java/org/onosproject/net/intent/TestIntent.java +++ b/core/api/src/test/java/org/onosproject/net/intent/TestIntent.java
@@ -17,6 +17,8 @@ import org.onosproject.TestApplicationId; +import java.util.Collections; + /** * An intent used in the unit test. */ @@ -30,7 +32,7 @@ * @param value intent ID */ public TestIntent(int value) { // FIXME - super(new TestApplicationId("foo"), null); + super(new TestApplicationId("foo"), Collections.emptyList()); this.value = value; }