usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdun...@apache.org
Subject usergrid git commit: USERGRID-1044: and another typo
Date Thu, 15 Oct 2015 20:34:35 GMT
Repository: usergrid
Updated Branches:
  refs/heads/USERGRID-1044 4fa61a9ef -> 06e3fa49a


USERGRID-1044: and another typo


Project: http://git-wip-us.apache.org/repos/asf/usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/usergrid/commit/06e3fa49
Tree: http://git-wip-us.apache.org/repos/asf/usergrid/tree/06e3fa49
Diff: http://git-wip-us.apache.org/repos/asf/usergrid/diff/06e3fa49

Branch: refs/heads/USERGRID-1044
Commit: 06e3fa49abb2e1e5f4e7ad187741025499ee22c5
Parents: 4fa61a9
Author: Mike Dunker <mdunker@apigee.com>
Authored: Thu Oct 15 13:33:55 2015 -0700
Committer: Mike Dunker <mdunker@apigee.com>
Committed: Thu Oct 15 13:33:55 2015 -0700

----------------------------------------------------------------------
 .../scala/org/apache/usergrid/scenarios/AuditScenarios.scala | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/usergrid/blob/06e3fa49/stack/loadtests/src/main/scala/org/apache/usergrid/scenarios/AuditScenarios.scala
----------------------------------------------------------------------
diff --git a/stack/loadtests/src/main/scala/org/apache/usergrid/scenarios/AuditScenarios.scala
b/stack/loadtests/src/main/scala/org/apache/usergrid/scenarios/AuditScenarios.scala
index 390029b..bd0d007 100644
--- a/stack/loadtests/src/main/scala/org/apache/usergrid/scenarios/AuditScenarios.scala
+++ b/stack/loadtests/src/main/scala/org/apache/usergrid/scenarios/AuditScenarios.scala
@@ -166,14 +166,14 @@ object AuditScenarios {
           if (entityUuid == null || entityUuid.isEmpty) {
             Settings.incAuditPayloadUuidError()
             println(s"PAYLOAD UUID MISSING (DIRECT): requestedUuid=$uuid")
-          } else if (uuid.equalsIgnoreCase(entityUuid)) {
+          } else if (!uuid.equalsIgnoreCase(entityUuid)) {
             Settings.incAuditPayloadUuidError()
             println(s"PAYLOAD UUID MISMATCH (DIRECT): requestedUuid=$uuid returnedUuid=$entityUuid")
           }
           if (entityName == null || entityName.isEmpty) {
             Settings.incAuditPayloadNameError()
             println(s"PAYLOAD NAME MISSING (DIRECT): requestedName=$reqName")
-          } else if (reqName.equalsIgnoreCase(entityName)) {
+          } else if (!reqName.equalsIgnoreCase(entityName)) {
             Settings.incAuditPayloadNameError()
             println(s"PAYLOAD NAME MISMATCH (DIRECT): requestedName=$reqName returnedName=$entityName")
           }
@@ -217,14 +217,14 @@ object AuditScenarios {
           if (entityUuid == null || entityUuid.isEmpty) {
             Settings.incAuditPayloadUuidError()
             println(s"PAYLOAD UUID MISSING (QUERY): requestedUuid=$uuid")
-          } else if (uuid.equalsIgnoreCase(entityUuid)) {
+          } else if (!uuid.equalsIgnoreCase(entityUuid)) {
             Settings.incAuditPayloadUuidError()
             println(s"PAYLOAD UUID MISMATCH (QUERY): requestedUuid=$uuid returnedUuid=$entityUuid")
           }
           if (entityName == null || entityName.isEmpty) {
             Settings.incAuditPayloadNameError()
             println(s"PAYLOAD NAME MISSING (QUERY): requestedName=$reqName")
-          } else if (reqName.equalsIgnoreCase(entityName)) {
+          } else if (!reqName.equalsIgnoreCase(entityName)) {
             Settings.incAuditPayloadNameError()
             println(s"PAYLOAD NAME MISMATCH (QUERY): requestedName=$reqName returnedName=$entityName")
           }


Mime
View raw message