/[Apache-SVN]
ViewVC logotype

Revision 1858350


Jump to revision: Previous Next
Author: jleroux
Date: Mon Apr 29 09:09:20 2019 UTC (4 years, 11 months ago)
Changed paths: 3
Log Message:
Improved: Refactor boolean returns from methods
(OFBIZ-10725)

I was wondering if we should close. I just had a look and using this regexp:

if \(.*\) \{\R.*return true;

 I found
* 60 matches in applications
* 138 in framework
* 4 in plugins
I only checked the 1st two in applications and they really match

While at it this improves 3 of the 4 in plugins (the other is in a loop)

Changed paths

Path Details
Directoryofbiz/ofbiz-plugins/trunk/pricat/src/main/java/org/apache/ofbiz/pricat/AbstractPricatParser.java modified , text changed
Directoryofbiz/ofbiz-plugins/trunk/pricat/src/main/java/org/apache/ofbiz/pricat/sample/SamplePricatParser.java modified , text changed
Directoryofbiz/ofbiz-plugins/trunk/solr/src/main/java/org/apache/ofbiz/solr/SolrUtil.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26