Skip to content

Commit 66a56a9

Browse files
committed
indentation
1 parent 6943505 commit 66a56a9

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

‎JSON/src/Parser.cpp‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -583,8 +583,8 @@ bool Parser::readRow(bool firstCall)
583583

584584
token = nextToken();
585585

586-
if ( token->is(Token::SEPARATOR_TOKEN)
587-
&& token->asChar() == ':')
586+
if (token->is(Token::SEPARATOR_TOKEN)
587+
&& token->asChar() == ':')
588588
{
589589
readValue(nextToken());
590590

@@ -638,8 +638,8 @@ void Parser::readValue(const Token* token)
638638
#if defined(POCO_HAVE_INT64)
639639
Int64 value = token->asInteger64();
640640
// if number is 32-bit, then handle as such
641-
if ( value > std::numeric_limits<int>::max()
642-
|| value < std::numeric_limits<int>::min())
641+
if (value > std::numeric_limits<int>::max()
642+
|| value < std::numeric_limits<int>::min())
643643
{
644644
_handler->value(value);
645645
}

‎JSON/src/Query.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ Var Query::find(const std::string& path) const
122122
}
123123
}
124124

125-
if ( !result.isEmpty()
126-
&& !indexes.empty() )
125+
if (!result.isEmpty()
126+
&& !indexes.empty() )
127127
{
128128
for(std::vector<int>::iterator it = indexes.begin(); it != indexes.end(); ++it )
129129
{

‎JSON/testsuite/src/JSONTest.cpp‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ void JSONTest::testNumber64Property()
200200
std::string json = "{ \"test\" : 5000000000000000 }";
201201
Parser parser;
202202
Var result;
203-
203+
204204
try
205205
{
206206
DefaultHandler handler;
@@ -213,13 +213,13 @@ void JSONTest::testNumber64Property()
213213
std::cout << jsone.message() << std::endl;
214214
assert(false);
215215
}
216-
216+
217217
assert(result.type() == typeid(Object::Ptr));
218-
218+
219219
Object::Ptr object = result.extract<Object::Ptr>();
220220
Var test = object->get("test");
221221
assert(test.isInteger());
222-
Poco::Int64 value = test;
222+
Poco::Int64 value = test;
223223
assert(value == 5000000000000000);
224224
}
225225

0 commit comments

Comments
 (0)