corrected a typo

git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_lsm_stabilization@1460 eaa15691-b419-025a-1212-ee371bd00084
diff --git a/asterix-transactions/src/main/java/edu/uci/ics/asterix/transaction/management/service/locking/LockManager.java b/asterix-transactions/src/main/java/edu/uci/ics/asterix/transaction/management/service/locking/LockManager.java
index f20b8be..f7c101d 100644
--- a/asterix-transactions/src/main/java/edu/uci/ics/asterix/transaction/management/service/locking/LockManager.java
+++ b/asterix-transactions/src/main/java/edu/uci/ics/asterix/transaction/management/service/locking/LockManager.java
@@ -46,7 +46,7 @@
     public static final boolean IS_DEBUG_MODE = false;//true
 
     public static final boolean ALLOW_UPGRADE_FROM_ENTITY_TO_DATASET = true;
-    public static final int UPGRAGE_TRHESHOLD_ENTITY_TO_DATASET = 100000;
+    public static final int UPGRADE_TRHESHOLD_ENTITY_TO_DATASET = 100000;
     private static final int DO_UPGRADE = 0;
     private static final int UPGRADED = 1;
     private static final int DONOT_UPGRADE = 2;
@@ -210,9 +210,9 @@
         }
 
         int count = jobInfo.getDatasetLockCount(datasetId);
-        if (count == UPGRAGE_TRHESHOLD_ENTITY_TO_DATASET) {
+        if (count == UPGRADE_TRHESHOLD_ENTITY_TO_DATASET) {
             return DO_UPGRADE;
-        } else if (count > UPGRAGE_TRHESHOLD_ENTITY_TO_DATASET){
+        } else if (count > UPGRADE_TRHESHOLD_ENTITY_TO_DATASET){
             return UPGRADED;
         } else {
             return DONOT_UPGRADE;