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
Yuta HIGUCHI
2014-12-03 11:03:18 -0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
427a2147ab6ca571f5b2c10aec1153494dfbd273
427a2147
1 parent
d6755ba9
NPE fix for ONOS-379
Change-Id: If928809b3f29c1e7e457c84ba229279137196b35
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
core/store/dist/src/main/java/org/onosproject/store/resource/impl/HazelcastLinkResourceStore.java
core/store/dist/src/main/java/org/onosproject/store/resource/impl/HazelcastLinkResourceStore.java
View file @
427a214
...
...
@@ -364,12 +364,13 @@ public class HazelcastLinkResourceStore
// concurrent allocation detected, retry transaction
throw
new
TransactionException
(
"Concurrent Allocation, retry"
);
}
}
}
else
{
List
<
LinkResourceAllocations
>
after
=
new
ArrayList
<>(
before
.
size
()
+
1
);
after
.
addAll
(
before
);
after
.
add
(
allocations
);
linkAllocs
.
replace
(
linkKey
,
before
,
after
);
}
}
@Override
public
LinkResourceEvent
releaseResources
(
LinkResourceAllocations
allocations
)
{
...
...
Please
register
or
login
to post a comment