kidok / protobuf

Automatically exported from code.google.com/p/protobuf
0 stars 0 forks source link

Bug in com.google.protobuf.TextFormat.TextGenerator.print() #636

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In TextGenerator.print(...)

...
          write(text.subSequence(pos, size), i - pos + 1);
...

Should actually be

...
          write(text.subSequence(pos, i + 1), i - pos + 1);
...

Original issue reported on code.google.com by adityaki...@gmail.com on 8 May 2014 at 11:47

GoogleCodeExporter commented 9 years ago

Original comment by xiaof...@google.com on 8 May 2014 at 5:20

GoogleCodeExporter commented 9 years ago
Thanks for reporting this

Original comment by jie...@google.com on 17 Jul 2014 at 11:04

GoogleCodeExporter commented 9 years ago

Original comment by jie...@google.com on 26 Aug 2014 at 3:20