ChecksSubmitRule: Fix typo

Signed-off-by: Edwin Kempin <ekempin@google.com>
Change-Id: Id9abb769a392c89c257e61c3cc033eb012835bc8
diff --git a/java/com/google/gerrit/plugins/checks/rules/ChecksSubmitRule.java b/java/com/google/gerrit/plugins/checks/rules/ChecksSubmitRule.java
index 501785d..aa36721 100644
--- a/java/com/google/gerrit/plugins/checks/rules/ChecksSubmitRule.java
+++ b/java/com/google/gerrit/plugins/checks/rules/ChecksSubmitRule.java
@@ -63,9 +63,9 @@
     Project.NameKey project = changeData.project();
     Change.Id changeId = changeData.getId();
 
-    PatchSet.Id currentPathSetId;
+    PatchSet.Id currentPatchSetId;
     try {
-      currentPathSetId = changeData.currentPatchSet().id();
+      currentPatchSetId = changeData.currentPatchSet().id();
     } catch (RuntimeException e) {
       String errorMessage =
           String.format("failed to load the current patch set of change %s", changeId);
@@ -76,7 +76,7 @@
     boolean areAllRequiredCheckersPassing;
     try {
       areAllRequiredCheckersPassing =
-          checks.areAllRequiredCheckersPassing(project, currentPathSetId);
+          checks.areAllRequiredCheckersPassing(project, currentPatchSetId);
     } catch (IOException e) {
       String errorMessage =
           String.format("failed to evaluate check states for change %s", changeId);