[nullsafe] boolean arguments in Preconditions methods are non-nullable

Reviewed By: artempyanykh

Differential Revision: D24249728

fbshipit-source-id: 980d27a57
master
Mitya Lyubarskiy 4 years ago committed by Facebook GitHub Bot
parent cbe796e541
commit d0f39f3ce7

@ -183,23 +183,23 @@ let check_state_list =
let check_argument_list = let check_argument_list =
[ ((o, [n]), "com.facebook.common.internal.Preconditions.checkArgument(boolean):void") [ ((o, [o]), "com.facebook.common.internal.Preconditions.checkArgument(boolean):void")
; ( (o, [n; n]) ; ( (o, [o; n])
, "com.facebook.common.internal.Preconditions.checkArgument(boolean,java.lang.Object):void" ) , "com.facebook.common.internal.Preconditions.checkArgument(boolean,java.lang.Object):void" )
; ( (o, [n; n; n]) ; ( (o, [o; n; n])
, "com.facebook.common.internal.Preconditions.checkArgument(boolean,java.lang.String,java.lang.Object[]):void" , "com.facebook.common.internal.Preconditions.checkArgument(boolean,java.lang.String,java.lang.Object[]):void"
) )
; ((o, [n]), "com.facebook.common.preconditions.Preconditions.checkArgument(boolean):void") ; ((o, [o]), "com.facebook.common.preconditions.Preconditions.checkArgument(boolean):void")
; ( (o, [n; n]) ; ( (o, [o; n])
, "com.facebook.common.preconditions.Preconditions.checkArgument(boolean,java.lang.Object):void" , "com.facebook.common.preconditions.Preconditions.checkArgument(boolean,java.lang.Object):void"
) )
; ( (o, [n; n; n]) ; ( (o, [o; n; n])
, "com.facebook.common.preconditions.Preconditions.checkArgument(boolean,java.lang.String,java.lang.Object[]):void" , "com.facebook.common.preconditions.Preconditions.checkArgument(boolean,java.lang.String,java.lang.Object[]):void"
) )
; ((o, [n]), "com.google.common.base.Preconditions.checkArgument(boolean):void") ; ((o, [o]), "com.google.common.base.Preconditions.checkArgument(boolean):void")
; ( (o, [n; n]) ; ( (o, [o; n])
, "com.google.common.base.Preconditions.checkArgument(boolean,java.lang.Object):void" ) , "com.google.common.base.Preconditions.checkArgument(boolean,java.lang.Object):void" )
; ( (o, [n; n; n]) ; ( (o, [o; n; n])
, "com.google.common.base.Preconditions.checkArgument(boolean,java.lang.String,java.lang.Object[]):void" , "com.google.common.base.Preconditions.checkArgument(boolean,java.lang.String,java.lang.Object[]):void"
) ] ) ]

Loading…
Cancel
Save