Hide Forgot
if (b.getid().equals(a.getid()) && (b.getstatus() == null ? StorageDomainStatus.InActive : b.getstatus()) == StorageDomainStatus.Active) is equal to if (b.getid().equals(a.getid()) && (b.getstatus() == StorageDomainStatus.Active)) while if ((a.getstorage_domain_type() == StorageDomainType.Data || a.getstorage_domain_type() == StorageDomainType.Master) && templateNotExistInAnyDomain_iter && (a.getstatus() == null ? null : a.getstatus()) == StorageDomainStatus.Active) is equal to if ((a.getstorage_domain_type() == StorageDomainType.Data || a.getstorage_domain_type() == StorageDomainType.Master) && templateNotExistInAnyDomain_iter && a.getstatus() == StorageDomainStatus.Active) somewhat shorter and probably more readable.
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.