mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-11-08 04:01:53 +01:00
Improve null safety by returning an empty list
Change-Id: I88e673b1ed0b9edfe86c9b1b4004ad9b95271d29
This commit is contained in:
parent
9aee1f56ac
commit
9fa6b8b23c
@ -166,7 +166,7 @@ public class GossipIntentStore
|
|||||||
if (data != null) {
|
if (data != null) {
|
||||||
return data.installables();
|
return data.installables();
|
||||||
}
|
}
|
||||||
return null;
|
return ImmutableList.of();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user