From 4d6b6fa542d78733901d991ec875f46228ea2e84 Mon Sep 17 00:00:00 2001 From: Scott Leberknight <174812+sleberknight@users.noreply.github.com> Date: Fri, 24 Mar 2023 12:52:32 -0400 Subject: [PATCH] Remove VisibleForTesting from Processes#getPidOrThrow (#924) Usage of this package-private method from ProcessHelper in the same package is a valid usage, so removing the VisibleForTesting annotation. Closes #923 --- src/main/java/org/kiwiproject/base/process/Processes.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/org/kiwiproject/base/process/Processes.java b/src/main/java/org/kiwiproject/base/process/Processes.java index 6af45056..79099139 100644 --- a/src/main/java/org/kiwiproject/base/process/Processes.java +++ b/src/main/java/org/kiwiproject/base/process/Processes.java @@ -505,7 +505,6 @@ private static Pair pairFromPgrepLine(String line) { return Pair.of(pid, command); } - @VisibleForTesting static Long getPidOrThrow(String pidString) { try { return Long.valueOf(pidString);