bakaid commented on a change in pull request #731: MINIFICPP-1096 fix 
BackTrace, OOB indexing, tests, appveyor reporting
URL: https://github.com/apache/nifi-minifi-cpp/pull/731#discussion_r385771963
 
 

 ##########
 File path: extensions/standard-processors/processors/ExtractText.cpp
 ##########
 @@ -121,7 +122,7 @@ int64_t 
ExtractText::ReadCallback::process(std::shared_ptr<io::BaseStream> strea
   ctx_->getProperty(SizeLimit.getName(), sizeLimitStr);
   ctx_->getProperty(RegexMode.getName(), regex_mode);
 
-  if (sizeLimitStr == "")
+  if (sizeLimitStr.empty())
 
 Review comment:
   I don't agree with it looking nicer, but I can live with it.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to