Sfoglia il codice sorgente

HPCC-17312 Changes following review

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Gavin Halliday 7 anni fa
parent
commit
827fe1d9c9
2 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 1 1
      common/workunit/workunit.cpp
  2. 2 2
      system/jlib/jstats.cpp

+ 1 - 1
common/workunit/workunit.cpp

@@ -1052,7 +1052,7 @@ protected:
 class GraphScopeIterator : public CInterfaceOf<IConstWUScopeIterator>
 {
 private:
-    //This uses a state machine - this enumation contains the different states.
+    //This uses a state machine - this enumeration contains the different states.
     enum State
     {
         SGraphBegin,

+ 2 - 2
system/jlib/jstats.cpp

@@ -135,9 +135,9 @@ extern jlib_decl int compareScopeName(const char * left, const char * right)
         if (!left || !right)
         {
             if (left)
-                return +2;
+                return +1;
             if (right)
-                return -2;
+                return -1;
             return 0;
         }
         left++;