commit | 01b0f595fce23c2ce0b1d47c4e29e76ea9ffd3b3 | [log] [tgz] |
---|---|---|
author | Jian Li <pyguni@gmail.com> | Wed Jan 20 11:02:07 2016 -0800 |
committer | Gerrit Code Review <gerrit@onlab.us> | Wed Jan 20 21:17:38 2016 +0000 |
tree | f812bda827997528096f44df02097738c082a81d | |
parent | 6282c809b8293e2d5b75c6eaab4841b79ab3755d [diff] [blame] |
[ONOS-3634] Provide default category name and make url nullable Change-Id: Id6d0404cc1e46cdd4f54f2ff64ca69313bec9281
diff --git a/core/api/src/main/java/org/onosproject/core/DefaultApplication.java b/core/api/src/main/java/org/onosproject/core/DefaultApplication.java index e22d14f..5ce5ee7 100644 --- a/core/api/src/main/java/org/onosproject/core/DefaultApplication.java +++ b/core/api/src/main/java/org/onosproject/core/DefaultApplication.java
@@ -74,7 +74,7 @@ this.description = checkNotNull(description, "Description cannot be null"); this.origin = checkNotNull(origin, "Origin cannot be null"); this.category = checkNotNull(category, "Category cannot be null"); - this.url = checkNotNull(url, "URL cannot be null"); + this.url = url; this.readme = checkNotNull(readme, "Readme cannot be null"); this.icon = icon; this.role = checkNotNull(role, "Role cannot be null");