Skip to content

Commit

Permalink
Remove VisibleForTesting from Processes#getPidOrThrow
Browse files Browse the repository at this point in the history
Usage of this package-private method from ProcessHelper
in the same package is a valid usage, so removing the
VisibleForTesting annotation.

Closes #923
  • Loading branch information
sleberknight committed Mar 24, 2023
1 parent 7437a46 commit c41b380
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/java/org/kiwiproject/base/process/Processes.java
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,6 @@ private static Pair<Long, String> pairFromPgrepLine(String line) {
return Pair.of(pid, command);
}

@VisibleForTesting
static Long getPidOrThrow(String pidString) {
try {
return Long.valueOf(pidString);
Expand Down

0 comments on commit c41b380

Please sign in to comment.