浏览代码

HPCC-17312 Changes following review

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Gavin Halliday 7 年之前
父节点
当前提交
827fe1d9c9
共有 2 个文件被更改,包括 3 次插入3 次删除
  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++;