aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/JSONHandler.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <jberkenbilt@users.noreply.github.com>2023-06-17 15:26:16 +0200
committerGitHub <noreply@github.com>2023-06-17 15:26:16 +0200
commit44dce4e2988ec09e36dfb6d1fc527a143e6f597f (patch)
tree3cdb1999faeb5103eb87c36fb1673d8cbb5ab082 /libqpdf/JSONHandler.cc
parentfc30e75122f6bef20ac8d676ac7cb8822feecf3e (diff)
parentacd0acf16931ce92bc908e4960c5a1e43d53b550 (diff)
downloadqpdf-44dce4e2988ec09e36dfb6d1fc527a143e6f597f.tar.zst
Merge pull request #978 from m-holger/reflow
Code tidy - reflow comments and strings
Diffstat (limited to 'libqpdf/JSONHandler.cc')
-rw-r--r--libqpdf/JSONHandler.cc10
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");
}