This repository was archived by the owner on Aug 8, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,21 +33,27 @@ public static void main(String[] args) {
3333
3434 Map r = s .update (ur );
3535 Object [] assets = (Object [])r .get ("assets" );
36- System .out .println (java .util .Arrays .toString (assets ));
36+ for (int index = 0 ; index < assets .length ; index ++)
37+ System .out .print (assets [index ].toString ());
38+ System .out .println ();
3739
3840 // Now let's re-run the update in "remove" mode.
3941 modes .put ("assets" , "remove" );
4042
4143 r = s .update (ur );
4244 assets = (Object [])r .get ("assets" );
43- System .out .println (java .util .Arrays .toString (assets ));
45+ for (int index = 0 ; index < assets .length ; index ++)
46+ System .out .print (assets [index ].toString ());
47+ System .out .println ();
4448
4549 // Add it back in for the next step.
4650 modes .put ("assets" , "add" );
4751
4852 r = s .update (ur );
4953 assets = (Object [])r .get ("assets" );
50- System .out .println (java .util .Arrays .toString (assets ));
54+ for (int index = 0 ; index < assets .length ; index ++)
55+ System .out .print (assets [index ].toString ());
56+ System .out .println ();
5157
5258 // Now set a field on the connection between the Shot and Asset. To do this,
5359 // we need to pass the desired asset to the request.
You can’t perform that action at this time.
0 commit comments