Committed by
Gerrit Code Review
Tighten precontinoal checks
Change-Id: If2bca48023d26655398e35f7e917bb617ce57963
Showing
1 changed file
with
3 additions
and
0 deletions
... | @@ -58,6 +58,9 @@ public class IntentData { //FIXME need to make this "immutable" | ... | @@ -58,6 +58,9 @@ public class IntentData { //FIXME need to make this "immutable" |
58 | * @param version version of the intent for this key | 58 | * @param version version of the intent for this key |
59 | */ | 59 | */ |
60 | public IntentData(Intent intent, IntentState state, Timestamp version) { | 60 | public IntentData(Intent intent, IntentState state, Timestamp version) { |
61 | + checkNotNull(intent); | ||
62 | + checkNotNull(state); | ||
63 | + | ||
61 | this.intent = intent; | 64 | this.intent = intent; |
62 | this.state = state; | 65 | this.state = state; |
63 | this.request = state; | 66 | this.request = state; | ... | ... |
-
Please register or login to post a comment