Go to file
Yacob Yonas 10c7dbd6bb Get rid of null check in ChangeMessagesUtil.addChangeMessage
There was a check to ensure that the message passed into the
aforementioned function was not null. However, it does not make sense
to have this check here because we should force the caller to enforce
that. If a message passed into this function is null, we should
instead be throwing an NPE. Thus, with this change, an NPE will be
thrown by update.putChangeMessage if the message is null instead of
the method just being a no-op.

Additionally, I added a check for null in all of the callers where
there is a possibility that the argument it would pass could be null.

Change-Id: Ib39359704db08d06e9117a55f76727b0e798c60d
2014-07-09 16:11:24 -07:00
2014-07-09 10:43:12 +09:00
2013-11-30 01:53:00 -08:00
2014-05-04 12:54:17 +02:00
2013-11-28 22:56:51 -08:00
2014-07-09 10:43:12 +09:00
2014-07-09 10:43:12 +09:00
2014-07-09 10:43:12 +09:00
2014-06-24 20:40:48 +00:00
2014-05-27 09:58:38 +09:00
2013-11-09 07:45:00 +01:00
2014-05-19 11:41:31 -07:00
2008-11-14 16:59:34 -08:00
2009-03-27 20:20:10 -07:00
Description
RETIRED, Gerrit as used by OpenStack
120 MiB