Skip to content

Commit

Permalink
Remove VisibleForTesting from Processes#getPidOrThrow (#924)
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 authored Mar 24, 2023
1 parent 7437a46 commit 4d6b6fa
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 4d6b6fa

Please sign in to comment.