Add @Nullable annotations where they were missing.
PiperOrigin-RevId: 459105716
Change-Id: I40f25d8e6754552b4a698117896bb0ef002e217f
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/CommonCommandOptions.java b/src/main/java/com/google/devtools/build/lib/runtime/CommonCommandOptions.java
index d32c369..20f98d9 100644
--- a/src/main/java/com/google/devtools/build/lib/runtime/CommonCommandOptions.java
+++ b/src/main/java/com/google/devtools/build/lib/runtime/CommonCommandOptions.java
@@ -35,6 +35,7 @@
import java.util.Map;
import java.util.UUID;
import java.util.logging.Level;
+import javax.annotation.Nullable;
/** Options common to all commands. */
public class CommonCommandOptions extends OptionsBase {
@@ -120,6 +121,7 @@
public static class UUIDConverter implements Converter<UUID> {
@Override
+ @Nullable
public UUID convert(String input) throws OptionsParsingException {
if (isNullOrEmpty(input)) {
return null;
@@ -145,6 +147,7 @@
public static class PrefixedUUIDConverter implements Converter<String> {
@Override
+ @Nullable
public String convert(String input) throws OptionsParsingException {
if (isNullOrEmpty(input)) {
return null;