mirror of
https://github.com/besterprotocol/besterd
synced 2023-12-13 21:00:32 +01:00
Moved block of code into correct position
This commit is contained in:
parent
839b9545d4
commit
02812b3171
1 changed files with 60 additions and 62 deletions
|
@ -173,11 +173,6 @@ private class BesterConnection : Thread
|
||||||
if(payloadType.type == JSONType.string)
|
if(payloadType.type == JSONType.string)
|
||||||
{
|
{
|
||||||
/* TODO: Move everything into this block */
|
/* TODO: Move everything into this block */
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* The header must contain a scope block */
|
/* The header must contain a scope block */
|
||||||
JSONValue scopeBlock;
|
JSONValue scopeBlock;
|
||||||
|
|
||||||
|
@ -253,9 +248,12 @@ private class BesterConnection : Thread
|
||||||
/* TODO: Handle error */
|
/* TODO: Handle error */
|
||||||
debugPrint("Scope block JSON value not a string");
|
debugPrint("Scope block JSON value not a string");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
/* TODO: Add error handling */
|
||||||
|
debugPrint("Type is not of type JSON string");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue