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:52:51 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7135a90a6c1e3e67e0dc9f1e47cb49a55c8ce7df
7135a90a
1 parent
d82dc5b3
Simplify if-statement
Change-Id: Ifa3dbc6f4bbace1db4d2998a9c8de0cc2c404ab4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
6 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/TransactionalContinuousResourceStore.java
View file @
7135a90
...
...
@@ -146,12 +146,7 @@ class TransactionalContinuousResourceStore {
return
false
;
}
boolean
success
=
appendValue
(
original
,
new
ResourceAllocation
(
request
,
consumer
));
if
(!
success
)
{
return
false
;
}
return
true
;
return
appendValue
(
original
,
new
ResourceAllocation
(
request
,
consumer
));
}
// Appends the specified ResourceAllocation to the existing values stored in the map
...
...
Please
register
or
login
to post a comment