Remove unnecessary references to deprecated `PathSubject.paths()`.

These are the only references to the method outside
`com.google.common.truth`. After removing them, we can make the method
package-private.

Change-Id: I8c57989e21b4b56e901afa9747dc363a76eb2d45
diff --git a/java/com/google/gerrit/plugins/codeowners/testing/CodeOwnerConfigReferenceSubject.java b/java/com/google/gerrit/plugins/codeowners/testing/CodeOwnerConfigReferenceSubject.java
index a804f87..97fe92b 100644
--- a/java/com/google/gerrit/plugins/codeowners/testing/CodeOwnerConfigReferenceSubject.java
+++ b/java/com/google/gerrit/plugins/codeowners/testing/CodeOwnerConfigReferenceSubject.java
@@ -58,7 +58,7 @@
 
   /** Returns a subject for the file path. */
   public PathSubject hasFilePathThat() {
-    return check("filePath()").about(paths()).that(codeOwnerConfigReference().filePath());
+    return check("filePath()").that(codeOwnerConfigReference().filePath());
   }
 
   private CodeOwnerConfigReference codeOwnerConfigReference() {
diff --git a/java/com/google/gerrit/plugins/codeowners/testing/PathCodeOwnerStatusSubject.java b/java/com/google/gerrit/plugins/codeowners/testing/PathCodeOwnerStatusSubject.java
index 5fbda01..03f2606 100644
--- a/java/com/google/gerrit/plugins/codeowners/testing/PathCodeOwnerStatusSubject.java
+++ b/java/com/google/gerrit/plugins/codeowners/testing/PathCodeOwnerStatusSubject.java
@@ -48,7 +48,7 @@
 
   /** Returns a {@link ComparableSubject} for the path. */
   public PathSubject hasPathThat() {
-    return check("path").about(paths()).that(pathCodeOwnerStatus().path());
+    return check("path").that(pathCodeOwnerStatus().path());
   }
 
   /** Returns a {@link ComparableSubject} for the code owner status. */
diff --git a/javatests/com/google/gerrit/plugins/codeowners/backend/CodeOwnerConfigReferenceTest.java b/javatests/com/google/gerrit/plugins/codeowners/backend/CodeOwnerConfigReferenceTest.java
index 8b7141f..8dab8bf 100644
--- a/javatests/com/google/gerrit/plugins/codeowners/backend/CodeOwnerConfigReferenceTest.java
+++ b/javatests/com/google/gerrit/plugins/codeowners/backend/CodeOwnerConfigReferenceTest.java
@@ -55,7 +55,7 @@
     for (String inputPath : new String[] {"/foo/OWNERS", "//foo/OWNERS"}) {
       Path path =
           CodeOwnerConfigReference.create(CodeOwnerConfigImportMode.ALL, inputPath).filePath();
-      assertWithMessage(inputPath).about(paths()).that(path).isEqualTo(expectedPath);
+      assertWithMessage(inputPath).that(path).isEqualTo(expectedPath);
       assertThat(path.isAbsolute()).isTrue();
     }
   }