Skip to content

Commit

Permalink
Automatic code cleanup.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 436486344
  • Loading branch information
Googler authored and copybara-github committed Mar 22, 2022
1 parent 5bc8e3d commit 4c79e05
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,15 +150,6 @@ private static ImmutableList<Value> getChildren(
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(
Expand All @@ -175,6 +166,15 @@ private static ImmutableList<Value> getChildren(ThreadObjectMap objectMap, Itera
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;
Expand Down

0 comments on commit 4c79e05

Please sign in to comment.