You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uses of the following with constant-value strings (already validated by PreconditionsConstantMessage) and no parameters should be migrated to use safe-logging preconditions , which does not require changes beyond switching the method invocation:
Open question: do we want to error/warn on functions which do not provide a message? Moving to safe-logging won't provide additional data, but does provide some standardization.
Uses of the following with constant-value strings (already validated by
PreconditionsConstantMessage
) and no parameters should be migrated to use safe-logging preconditions , which does not require changes beyond switching the method invocation:Objects.requireNonNull(Object)
,Objects.requireNonNull(Object, String)
,com.google.common.base.Preconditions.check*(Object)
,com.google.common.base.Preconditions.check*(Object, String)
The text was updated successfully, but these errors were encountered: