We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea97644 commit 0e5bccdCopy full SHA for 0e5bccd
maven-scm-api/src/main/java/org/apache/maven/scm/util/ConsumerUtils.java
@@ -27,7 +27,9 @@
27
28
/**
29
* @author <a href="mailto:[email protected]">Davide Angelocola</a>
30
+ * @deprecated an internal test utility that should not be used by model code
31
*/
32
+@Deprecated
33
public class ConsumerUtils {
34
35
private ConsumerUtils() {}
@@ -38,7 +40,9 @@ private ConsumerUtils() {}
38
40
* @param f TODO
39
41
* @param consumer TODO
42
* @throws IOException if any
43
+ * @deprecated inline this method if you're using it
44
45
+ @Deprecated
46
public static void consumeFile(File f, StreamConsumer consumer) throws IOException {
47
try (BufferedReader reader = Files.newBufferedReader(f.toPath())) {
48
String line;
0 commit comments