blob: d4721d7ddbe8ffe73dfabf592c6add144c4a562b [file]
package com.uber.mylib;
import javax.annotation.Nullable;
import org.utilities.StringUtils;
/** A sample class. */
public class MyClass {
static void log(@Nullable Object x) {
if (x == null) {
return;
}
System.out.println(x.toString());
}
static int checkModel(@Nullable String s) {
if (!StringUtils.isEmptyOrNull(s)) {
return s.hashCode();
}
return 0;
}
static void foo() {
log(null);
}
}