if (* != null && *.size() > 0) {
where * is a variable name (String or Collection). Rewritten to
if (UtilValidate.isNotEmpty(*)) {
Done with Eclipse regex replace feature with
search = if \((\w+) *!= *null *&& *(\w+)\.size\(\) *> *0\) *\{
replace = if (UtilValidate.isNotEmpty($1)) {
And of course some hand-work for imports and cleaning. I compiled and tested with ant run-tests
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686591 13f79535-47bb-0310-9956-ffa450edef68
I did a global search and replace for the align="left" aatribute - I didn't check each replacement because there were hundreds of them. This shouldn't break any layout. If you spot something wrong, post a message on the dev mailing list and I will fix it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@684548 13f79535-47bb-0310-9956-ffa450edef68
A real replace in files feature was one of the reasons I use Eclipse 3.4 for near a year now (I even helped to test, a real must have :o)
Not sure previous commit was sent partially or not at all (I needed to update)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@677685 13f79535-47bb-0310-9956-ffa450edef68
This shouldn't affect any layout. If it does, just post a message on the dev ml (with link please) and I'll fix it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@675831 13f79535-47bb-0310-9956-ffa450edef68
Better description of cryptic applications tabs (HR and SFA for now) using new tooltip/description attribute
CommonAccounting was useless : removed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@647451 13f79535-47bb-0310-9956-ffa450edef68
The ecommerce component is excluded from this commit.
These changes shouldn't break any layout. If you spot something wrong, let me know and I'll fix it.
I won't make any more maincss.css changes for a little while. I'll let the dust settle from these two commits, then I'll go through the file and physically remove the deprecated styles.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@627051 13f79535-47bb-0310-9956-ffa450edef68
Replaced all the field's titles in form widgets that were explicitly set to empty to ${uiLabelMap.CommonEmptyHeader}
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@550173 13f79535-47bb-0310-9956-ffa450edef68
I put also some svn:ignore for shark build and lib diretories and assetmaint/build
I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.
I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
Seems correct (35827 lines to review ;o).
I just wonder if we should keep the copyright comment in Classpath.java (about MortBay)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@496982 13f79535-47bb-0310-9956-ffa450edef68
The application is still in a very initial stage, a lot of cleanups still need to be done, but it is a nice start.
It has been contributed by Daniel Goodwin and Ray Barlow; see OFBIZ-226 for details.
Daniel, Ray many thanks to both of you.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@482801 13f79535-47bb-0310-9956-ffa450edef68
The application is still in a very initial stage, a lot of cleanups still need to be done, but it is a nice start.
It has been contributed by Daniel Goodwin and Ray Barlow; see OFBIZ-226 for details.
Daniel, Ray many thanks to both of you.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@482800 13f79535-47bb-0310-9956-ffa450edef68