From 3e8132b6875a7d848428a54a41b568b46cd6cddd Mon Sep 17 00:00:00 2001 From: josecoll Date: Sat, 13 Jan 2018 11:23:37 +0000 Subject: [PATCH] Revert to correct spacing. --- .../common/persistence/PersistentCertificateRequestStorage.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network-management/src/main/kotlin/com/r3/corda/networkmanage/common/persistence/PersistentCertificateRequestStorage.kt b/network-management/src/main/kotlin/com/r3/corda/networkmanage/common/persistence/PersistentCertificateRequestStorage.kt index ed987f7358..339fcb7978 100644 --- a/network-management/src/main/kotlin/com/r3/corda/networkmanage/common/persistence/PersistentCertificateRequestStorage.kt +++ b/network-management/src/main/kotlin/com/r3/corda/networkmanage/common/persistence/PersistentCertificateRequestStorage.kt @@ -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. // What if we approved something by mistake. 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")