New instruction format for output.
This commit is contained in:
1 parent
12717e038c
commit
dfbe62e65f
1 file changed
+5
-5
+5
-5
@@ -140,14 +140,14 @@ public class GuacamoleInstruction {
|
||||
|
||||
StringBuilder buff = new StringBuilder();
|
||||
|
||||
buff.append(operation.getOpcode().length());
|
||||
buff.append('.');
|
||||
buff.append(operation.getOpcode());
|
||||
|
||||
if (args.length >= 1)
|
||||
buff.append(':');
|
||||
|
||||
for (int i=0; i<args.length; i++) {
|
||||
if (i > 0)
|
||||
buff.append(',');
|
||||
buff.append(',');
|
||||
buff.append(args[i].length());
|
||||
buff.append('.');
|
||||
buff.append(args[i]);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user