Revert to correct spacing.

This commit is contained in:
josecoll 2018-01-13 11:23:37 +00:00
parent 15ffc85712
commit 3e8132b687

View File

@ -145,7 +145,7 @@ class PersistentCertificateRequestStorage(private val database: CordaPersistence
// Also, at the moment we assume that once the CSR is approved it cannot be rejected. // Also, at the moment we assume that once the CSR is approved it cannot be rejected.
// What if we approved something by mistake. // What if we approved something by mistake.
val duplicates = session.createQuery(query).resultList.filter { val duplicates = session.createQuery(query).resultList.filter {
it.status !=RequestStatus.REJECTED it.status != RequestStatus.REJECTED
} }
return Pair(legalName, if (duplicates.isEmpty()) null else "Duplicate legal name") return Pair(legalName, if (duplicates.isEmpty()) null else "Duplicate legal name")