From 950f7d1182d9d4dcc7e928df4a23ccc146290e4b Mon Sep 17 00:00:00 2001 From: Michael Ernst Date: Sun, 7 Apr 2024 13:11:24 -0700 Subject: [PATCH] Use plume-util 1.9.1 --- build.gradle | 2 +- src/main/java/org/plumelib/lookup/Lookup.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 4a7d5ab..13ee53f 100644 --- a/build.gradle +++ b/build.gradle @@ -25,7 +25,7 @@ ext.errorproneVersion = '2.26.1' dependencies { implementation 'org.plumelib:options:2.0.3' - implementation 'org.plumelib:plume-util:1.9.0' + implementation 'org.plumelib:plume-util:1.9.1' compileOnly "com.google.errorprone:error_prone_annotations:${errorproneVersion}" } diff --git a/src/main/java/org/plumelib/lookup/Lookup.java b/src/main/java/org/plumelib/lookup/Lookup.java index 4f5faec..be73070 100644 --- a/src/main/java/org/plumelib/lookup/Lookup.java +++ b/src/main/java/org/plumelib/lookup/Lookup.java @@ -12,8 +12,8 @@ import org.plumelib.options.OptionGroup; import org.plumelib.options.Options; import org.plumelib.util.EntryReader; +import org.plumelib.util.FilesPlume; import org.plumelib.util.RegexUtil; -import org.plumelib.util.UtilPlume; /** * Lookup searches a set of files, much like {@code grep} does. However, Lookup searches by entry @@ -263,7 +263,7 @@ public static void main(String[] args) throws IOException { String[] entryFiles = entry_file.split(":"); List fileErrors = new ArrayList<>(); for (String ef : entryFiles) { - ef = UtilPlume.expandFilename(ef); + ef = FilesPlume.expandFilename(ef); try { reader = new EntryReader(ef, comment_re, include_re); } catch (FileNotFoundException e) {