mirror of
https://github.com/corda/corda.git
synced 2025-01-09 06:23:04 +00:00
remove obsolete todo comments
This commit is contained in:
parent
402fef9ae8
commit
ac34bc072c
@ -514,7 +514,6 @@ parseUtf8NonAscii(Thread* t, Stream& s, object bytesSoFar, unsigned byteCount,
|
|||||||
unsigned si = sourceIndex;
|
unsigned si = sourceIndex;
|
||||||
while (true) {
|
while (true) {
|
||||||
if (a & 0x80) {
|
if (a & 0x80) {
|
||||||
// todo: handle non-ASCII characters properly
|
|
||||||
if (a & 0x20) {
|
if (a & 0x20) {
|
||||||
// 3 bytes
|
// 3 bytes
|
||||||
si += 2;
|
si += 2;
|
||||||
@ -566,7 +565,6 @@ parseUtf8(Thread* t, Stream& s, unsigned length)
|
|||||||
for (unsigned si = 0; si < length; ++si) {
|
for (unsigned si = 0; si < length; ++si) {
|
||||||
unsigned a = s.read1();
|
unsigned a = s.read1();
|
||||||
if (a & 0x80) {
|
if (a & 0x80) {
|
||||||
// todo: handle non-ASCII characters properly
|
|
||||||
if (a & 0x20) {
|
if (a & 0x20) {
|
||||||
// 3 bytes
|
// 3 bytes
|
||||||
return parseUtf8NonAscii(t, s, value, vi, si, a);
|
return parseUtf8NonAscii(t, s, value, vi, si, a);
|
||||||
|
Loading…
Reference in New Issue
Block a user