This is an automated email from the ASF dual-hosted git repository. elharo pushed a commit to branch 1237 in repository https://gitbox.apache.org/repos/asf/maven-scm.git
commit a24f098ee665fba59913100f15c790e03fa9730d Author: Elliotte Rusty Harold <elh...@ibiblio.org> AuthorDate: Tue Sep 16 08:27:15 2025 -0400 Deprecate ConsumerUtils --- .../src/main/java/org/apache/maven/scm/util/ConsumerUtils.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/maven-scm-api/src/main/java/org/apache/maven/scm/util/ConsumerUtils.java b/maven-scm-api/src/main/java/org/apache/maven/scm/util/ConsumerUtils.java index a1c07641d..195550da5 100644 --- a/maven-scm-api/src/main/java/org/apache/maven/scm/util/ConsumerUtils.java +++ b/maven-scm-api/src/main/java/org/apache/maven/scm/util/ConsumerUtils.java @@ -27,7 +27,9 @@ /** * @author <a href="mailto:davide.angelocola+apa...@gmail.com">Davide Angelocola</a> + * @deprecated an internal test utility that should not be used by model code */ +@Deprecated public class ConsumerUtils { private ConsumerUtils() {} @@ -38,7 +40,9 @@ private ConsumerUtils() {} * @param f TODO * @param consumer TODO * @throws IOException if any + * @deprecated inline this method if you're using it */ + @Deprecated public static void consumeFile(File f, StreamConsumer consumer) throws IOException { try (BufferedReader reader = Files.newBufferedReader(f.toPath())) { String line;