@@ -58,10 +58,10 @@ private static void recurse(final VPackBuilder builder, final int curdepth, fina
58
58
if (curdepth >= depth ) {
59
59
return ;
60
60
}
61
- builder .add ("attr1" , new Value ("TextTextText" + depth ));
62
- builder .add ("attr2" , new Value (depth ));
63
- builder .add ("attr3" , new Value (depth ));
64
- builder .add ("attr4" , new Value (depth + 0.5 ));
61
+ builder .add ("attr1" , new Value ("TextTextText" + curdepth ));
62
+ builder .add ("attr2" , new Value (curdepth ));
63
+ builder .add ("attr3" , new Value (curdepth ));
64
+ builder .add ("attr4" , new Value (curdepth + 0.5 ));
65
65
builder .add ("attr5" , new Value (true ));
66
66
// for (int i = 0; i < size; i++) {
67
67
// builder.add("Hallo" + i, new Value(i));
@@ -94,10 +94,10 @@ private static void recurse(final JsonObject obj, final int curdepth, final int
94
94
if (curdepth >= depth ) {
95
95
return ;
96
96
}
97
- obj .addProperty ("attr1" , "TextTextText" + depth );
98
- obj .addProperty ("attr2" , depth );
99
- obj .addProperty ("attr3" , depth );
100
- obj .addProperty ("attr4" , depth + 0.5 );
97
+ obj .addProperty ("attr1" , "TextTextText" + curdepth );
98
+ obj .addProperty ("attr2" , curdepth );
99
+ obj .addProperty ("attr3" , curdepth );
100
+ obj .addProperty ("attr4" , curdepth + 0.5 );
101
101
obj .addProperty ("attr5" , true );
102
102
final JsonObject subObj1 = new JsonObject ();
103
103
recurse (subObj1 , curdepth + 1 , depth , size );
0 commit comments