Committed by
Gerrit Code Review
Improve null safety by returning an empty list
Change-Id: I88e673b1ed0b9edfe86c9b1b4004ad9b95271d29
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -166,7 +166,7 @@ public class GossipIntentStore | ... | @@ -166,7 +166,7 @@ public class GossipIntentStore |
166 | if (data != null) { | 166 | if (data != null) { |
167 | return data.installables(); | 167 | return data.installables(); |
168 | } | 168 | } |
169 | - return null; | 169 | + return ImmutableList.of(); |
170 | } | 170 | } |
171 | 171 | ||
172 | 172 | ... | ... |
-
Please register or login to post a comment