Automatic code cleanup. PiperOrigin-RevId: 436486344
diff --git a/src/main/java/com/google/devtools/build/lib/starlarkdebug/server/DebuggerSerialization.java b/src/main/java/com/google/devtools/build/lib/starlarkdebug/server/DebuggerSerialization.java index 858cadd..4e669e6 100644 --- a/src/main/java/com/google/devtools/build/lib/starlarkdebug/server/DebuggerSerialization.java +++ b/src/main/java/com/google/devtools/build/lib/starlarkdebug/server/DebuggerSerialization.java
@@ -150,15 +150,6 @@ return children.build(); } - private static ImmutableList<Value> getDebugAttributes( - ThreadObjectMap objectMap, Debug.ValueWithDebugAttributes value) { - ImmutableList.Builder<Value> attributes = ImmutableList.builder(); - for (Debug.DebugAttribute attr : value.getDebugAttributes()) { - attributes.add(getValueProto(objectMap, attr.name, attr.value)); - } - return attributes.build(); - } - private static ImmutableList<Value> getChildren( ThreadObjectMap objectMap, Map.Entry<?, ?> entry) { return ImmutableList.of( @@ -175,6 +166,15 @@ return builder.build(); } + private static ImmutableList<Value> getDebugAttributes( + ThreadObjectMap objectMap, Debug.ValueWithDebugAttributes value) { + ImmutableList.Builder<Value> attributes = ImmutableList.builder(); + for (Debug.DebugAttribute attr : value.getDebugAttributes()) { + attributes.add(getValueProto(objectMap, attr.name, attr.value)); + } + return attributes.build(); + } + private static ImmutableList<Value> getArrayChildren(ThreadObjectMap objectMap, Object array) { ImmutableList.Builder<Value> builder = ImmutableList.builder(); int index = 0;