Skip to content

Commit de2c470

Browse files
committed
Fix presubmit
1 parent 3025363 commit de2c470

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/com/google/devtools/build/lib/unsafe/StringUnsafe.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ public final class StringUnsafe {
5353
constructor.setAccessible(true);
5454
CONSTRUCTOR = MethodHandles.lookup().unreflectConstructor(constructor);
5555

56-
var stringLookup = MethodHandles.privateLookupIn(String.class, MethodHandles.lookup());
56+
MethodHandles.Lookup stringLookup =
57+
MethodHandles.privateLookupIn(String.class, MethodHandles.lookup());
5758
VALUE_HANDLE = stringLookup.unreflectVarHandle(String.class.getDeclaredField("value"));
5859
CODE_HANDLE = stringLookup.unreflectVarHandle(String.class.getDeclaredField("coder"));
5960
} catch (ReflectiveOperationException e) {

0 commit comments

Comments
 (0)