From 68bc8db0915c8751aa1eb8b36465f5d55410bcb7 Mon Sep 17 00:00:00 2001 From: Janusz Baginski Date: Thu, 23 Nov 2023 16:25:34 +0000 Subject: [PATCH] Updates nullability annotations --- .../com/shazam/fork/system/io/RemoteFileManager.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fork-runner/src/main/java/com/shazam/fork/system/io/RemoteFileManager.java b/fork-runner/src/main/java/com/shazam/fork/system/io/RemoteFileManager.java index 60e37690..adf92f42 100644 --- a/fork-runner/src/main/java/com/shazam/fork/system/io/RemoteFileManager.java +++ b/fork-runner/src/main/java/com/shazam/fork/system/io/RemoteFileManager.java @@ -18,10 +18,10 @@ import com.android.ddmlib.ShellCommandUnresponsiveException; import com.android.ddmlib.TimeoutException; import com.android.ddmlib.testrunner.TestIdentifier; -import org.jetbrains.annotations.NotNull; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import javax.annotation.Nonnull; import java.io.IOException; public class RemoteFileManager { @@ -65,22 +65,22 @@ private static void executeCommand(IDevice device, String command, String errorM } } - @NotNull + @Nonnull public static String remoteVideoForTest(IDevice device, TestIdentifier test) { return remoteFileForTest(device, videoFileName(test)); } - @NotNull + @Nonnull private static String remoteFileForTest(IDevice device, String filename) { return getForkDirectory(device) + "/" + filename; } - @NotNull + @Nonnull private static String getCoverageDirectory(IDevice device) { return getForkDirectory(device) + "/coverage"; } - @NotNull + @Nonnull private static String getForkDirectory(IDevice device) { String externalStorage = device.getMountPoint(IDevice.MNT_EXTERNAL_STORAGE); if (externalStorage != null) {