Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Sho SHIMIZU
2016-01-29 16:50:57 -0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7a070c05a62373c1584351cd2a1375b597a8d114
7a070c05
1 parent
6a717dcd
Write TODO comments
Change-Id: Iba341f40412eece46ac52ca993f8e314fd7307dc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
core/api/src/main/java/org/onosproject/net/newresource/ResourceAdminService.java
core/api/src/main/java/org/onosproject/net/newresource/ResourceAdminService.java
View file @
7a070c0
...
...
@@ -52,6 +52,7 @@ public interface ResourceAdminService {
* @return true if unregistration is successfully done, false otherwise. Unregistration
* succeeds when each resource is not registered or unallocated.
*/
// TODO: might need to change the first argument type to ResourceId
default
boolean
unregisterResources
(
Resource
...
resources
)
{
return
unregisterResources
(
ImmutableList
.
copyOf
(
resources
));
}
...
...
@@ -63,5 +64,6 @@ public interface ResourceAdminService {
* @return true if unregistration is successfully done, false otherwise. Unregistration
* succeeds when each resource is not registered or unallocated.
*/
// TODO: might need to change the first argument type to ResourceId
boolean
unregisterResources
(
List
<
Resource
>
resources
);
}
...
...
Please
register
or
login
to post a comment