Remove trailing whitespace (#3668)

This commit is contained in:
John Vandenberg
2022-07-07 17:18:20 +08:00
committed by GitHub
parent 0af9524e16
commit 0e6e16645c
1330 changed files with 23570 additions and 23571 deletions

View File

@@ -40,7 +40,7 @@ public:
Handler();
/// Creates an empty Handler.
virtual ~Handler();
/// Destroys the Handler.

View File

@@ -45,7 +45,7 @@ public:
virtual void reset();
/// Resets the handler state.
void startObject();
/// Handles a '{'; a new object is started.

View File

@@ -78,7 +78,7 @@ public:
void value(unsigned v);
/// An unsigned value is read. This will only be triggered if the
/// value cannot fit into a signed int.
#if defined(POCO_HAVE_INT64)
void value(Int64 v);
/// A 64-bit integer value is read; it will be written to the output.

View File

@@ -35,7 +35,7 @@ public:
/// Creates a Query.
///
/// Source must be JSON Object, Array, Object::Ptr,
/// Array::Ptr or empty Var. Any other type will trigger throwing of
/// Array::Ptr or empty Var. Any other type will trigger throwing of
/// InvalidArgumentException.
///
/// Creating Query holding Ptr will typically result in faster
@@ -45,9 +45,9 @@ public:
/// Destroys the Query.
Object::Ptr findObject(const std::string& path) const;
/// Search for an object.
/// Search for an object.
///
/// When the object can't be found, a zero Ptr is returned;
/// When the object can't be found, a zero Ptr is returned;
/// otherwise, a shared pointer to internally held object
/// is returned.
/// If object (as opposed to a pointer to object) is held
@@ -55,16 +55,16 @@ public:
/// returned; this may be expensive operation.
Object& findObject(const std::string& path, Object& obj) const;
/// Search for an object.
/// Search for an object.
///
/// If object is found, it is assigned to the
/// Object through the reference passed in. When the object can't be
/// Object through the reference passed in. When the object can't be
/// found, the provided Object is emptied and returned.
Array::Ptr findArray(const std::string& path) const;
/// Search for an array.
/// Search for an array.
///
/// When the array can't be found, a zero Ptr is returned;
/// When the array can't be found, a zero Ptr is returned;
/// otherwise, a shared pointer to internally held array
/// is returned.
/// If array (as opposed to a pointer to array) is held
@@ -72,10 +72,10 @@ public:
/// returned; this may be expensive operation.
Array& findArray(const std::string& path, Array& obj) const;
/// Search for an array.
/// Search for an array.
///
/// If array is found, it is assigned to the
/// Object through the reference passed in. When the array can't be
/// Object through the reference passed in. When the array can't be
/// found, the provided Object is emptied and returned.
Dynamic::Var find(const std::string& path) const;
@@ -99,8 +99,8 @@ public:
{
result = value.convert<T>();
}
catch (...)
{
catch (...)
{
}
}
return result;

View File

@@ -44,19 +44,19 @@ class JSON_API Template
/// conditional output, etc.
///
/// All text is send to the outputstream. A command is placed
/// between
/// between
/// <?
/// and
/// and
/// ?>
/// ----
///
/// These are the available commands:
///
///
/// <? echo query ?>
/// ----
/// The result of the query is send to the output stream
/// This command can also be written as <?= query ?>
///
///
/// <? if query ?> <? else ?> <? endif ?>
/// ----
/// When the result of query is true, all the text between
@@ -70,7 +70,7 @@ class JSON_API Template
/// ----
/// This can be used to check the existence of the value.
/// Use this for example when a zero value is ok (which returns false for <? if ?>.
///
///
/// <? for variable query ?> <? endfor ?>
/// ----
/// The result of the query must be an array. For each element

View File

@@ -42,7 +42,7 @@ public:
TemplateCache();
/// Creates an empty TemplateCache.
///
/// The cache must be created and not destroyed
/// The cache must be created and not destroyed
/// as long as it is used.
virtual ~TemplateCache();