diff options
author | m-holger <m-holger@kubitscheck.org> | 2023-05-27 19:19:52 +0200 |
---|---|---|
committer | m-holger <m-holger@kubitscheck.org> | 2023-06-02 17:00:40 +0200 |
commit | 3c5700c255f4603b5df9c6d183d13dd71a083cc3 (patch) | |
tree | 0f01c62c54b56d009b341922fa3441907a2e560b /libqpdf/JSONHandler.cc | |
parent | 6e6a73d28f5f61f038209a61a3e85995dc71aa32 (diff) | |
download | qpdf-3c5700c255f4603b5df9c6d183d13dd71a083cc3.tar.zst |
Code tidy - reflow comments and strings
Diffstat (limited to 'libqpdf/JSONHandler.cc')
-rw-r--r-- | libqpdf/JSONHandler.cc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/libqpdf/JSONHandler.cc b/libqpdf/JSONHandler.cc index f4360a2d..b5c7c35d 100644 --- a/libqpdf/JSONHandler.cc +++ b/libqpdf/JSONHandler.cc @@ -133,12 +133,10 @@ JSONHandler::handle(std::string const& path, JSON j) } if (!handled) { - // It would be nice to include information about what type the - // object was and what types were allowed, but we're relying - // on schema validation to make sure input is properly - // structured before calling the handlers. It would be - // different if this code were trying to be part of a - // general-purpose JSON package. + // It would be nice to include information about what type the object was and what types + // were allowed, but we're relying on schema validation to make sure input is properly + // structured before calling the handlers. It would be different if this code were trying to + // be part of a general-purpose JSON package. QTC::TC("libtests", "JSONHandler unhandled value"); usage("JSON handler: value at " + path + " is not of expected type"); } |