for (Node elem : list.getValue()) { String indexedPath = String.format("%s[%s]", path, index++); builder.withAddedBuilder(field, new ReadNodeBuildAction(helper, elem, indexedPath));
for (Node elem : list.getValue()) { String indexedPath = String.format("%s[%s]", path, index++); builder.withAddedBuilder(field, new ReadNodeBuildAction(helper, elem, indexedPath));
@Test public void nestedRepeatedField() { ConfigSource.Builder builder = ConfigSource.newBuilder(SomeConfig.getDefaultInstance()); builder.withAddedBuilder( REPEATED_NESTED_CONFIG_FIELD, new BuildAction() { builder.withAddedBuilder( REPEATED_NESTED_CONFIG_FIELD, new BuildAction() {