(Similar question: Which is more effective: if (null == variable) or if (variable == null)?)
Difference between null==object and object==null
There is no semantical difference.
object.getItems() == null
and null == object.getItems()
are equivalent.
Perhaps you're mixing it up with the fact that
nonNullObj.equals(obj)
and
obj.equals(nonNullObj)
can make a difference (since the second alternative could result in a NPE in case the callee is null).