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-05-13 13:50:29 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d82dc5b31b90584ad1a3f4cecc4061da9bc537ba
d82dc5b3
1 parent
860bb539
Tighten method's visibility
Change-Id: Ib3e14af194044b80522697119da971665e8b8fd9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
core/store/dist/src/main/java/org/onosproject/store/resource/impl/TransactionalContinuousResourceStore.java
core/store/dist/src/main/java/org/onosproject/store/resource/impl/TransactionalDiscreteResourceStore.java
core/store/dist/src/main/java/org/onosproject/store/resource/impl/TransactionalContinuousResourceStore.java
View file @
d82dc5b
...
...
@@ -128,7 +128,7 @@ class TransactionalContinuousResourceStore {
return
childMap
.
replace
(
key
,
oldValues
,
newValues
);
}
boolean
isAllocated
(
ContinuousResourceId
id
)
{
private
boolean
isAllocated
(
ContinuousResourceId
id
)
{
ContinuousResourceAllocation
allocations
=
consumers
.
get
(
id
);
return
allocations
!=
null
&&
!
allocations
.
allocations
().
isEmpty
();
}
...
...
core/store/dist/src/main/java/org/onosproject/store/resource/impl/TransactionalDiscreteResourceStore.java
View file @
d82dc5b
...
...
@@ -117,7 +117,7 @@ class TransactionalDiscreteResourceStore {
return
childMap
.
replace
(
key
,
oldValues
,
newValues
);
}
boolean
isAllocated
(
DiscreteResourceId
id
)
{
private
boolean
isAllocated
(
DiscreteResourceId
id
)
{
return
consumers
.
get
(
id
)
!=
null
;
}
...
...
Please
register
or
login
to post a comment