2d part and end of an effort to remove trailing spaces

[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacques Le Roux
2009-04-08 10:54:51 +00:00
parent af6b6e5187
commit b9c3ddef08
2213 changed files with 21453 additions and 21464 deletions
+9 -9
View File
@@ -60,11 +60,11 @@ access. For a detailed description see the core/docs/entityconfig.html file.
<!-- be sure that your default delegator (or the one you use) uses the same datasource for test. You must run "ant run-install" before running "ant run-tests" -->
<delegator name="test" entity-model-reader="main" entity-group-reader="main" entity-eca-reader="main">
<group-map group-name="org.ofbiz" datasource-name="localderby"/>
<group-map group-name="org.ofbiz" datasource-name="localderby"/>
<group-map group-name="org.ofbiz.olap" datasource-name="localderbyolap"/>
</delegator>
<delegator name="other" entity-model-reader="main" entity-group-reader="main" entity-eca-reader="main">
<group-map group-name="org.ofbiz" datasource-name="localpostgres"/>
<group-map group-name="org.ofbiz" datasource-name="localpostgres"/>
</delegator>
<!-- need to at least define a name for each component to use -->
@@ -91,7 +91,7 @@ access. For a detailed description see the core/docs/entityconfig.html file.
<entity-data-reader name="ext"/>
<entity-data-reader name="ext-test"/>
<entity-data-reader name="ext-demo"/>
<field-type name="hsql" loader="fieldfile" location="fieldtypehsql.xml"/>
<field-type name="derby" loader="fieldfile" location="fieldtypederby.xml"/>
<field-type name="cloudscape" loader="fieldfile" location="fieldtypecloudscape.xml"/>
@@ -214,7 +214,7 @@ access. For a detailed description see the core/docs/entityconfig.html file.
pool-maxsize="250"/>
<!-- <jndi-jdbc jndi-server-name="localjndi" jndi-name="java:/DerbyDataSource" isolation-level="ReadCommitted"/> -->
</datasource>
<datasource name="localcloudscape"
helper-class="org.ofbiz.entity.datasource.GenericHelperDAO"
field-type-name="cloudscape"
@@ -339,7 +339,7 @@ access. For a detailed description see the core/docs/entityconfig.html file.
alias-view-columns="false"
join-style="ansi"
use-binary-type-for-blob="true">
<!-- use this attribute to make the EntityListIterator more effective for pgjdbc 7.5devel and later:
<!-- use this attribute to make the EntityListIterator more effective for pgjdbc 7.5devel and later:
result-fetch-size="50"
-->
<read-data reader-name="seed"/>
@@ -361,7 +361,7 @@ access. For a detailed description see the core/docs/entityconfig.html file.
<!-- <tyrex-dataSource dataSource-name="localpostgres" isolation-level="ReadCommitted"/> -->
</datasource>
<!-- use localpostnew for NEW installations (don't switch from localpostgres) and for PostgreSQL
<!-- use localpostnew for NEW installations (don't switch from localpostgres) and for PostgreSQL
at or above 8.1 (for more information see the comment in the fieldtype file "fieldtypepostnew") -->
<datasource name="localpostnew"
@@ -498,7 +498,7 @@ access. For a detailed description see the core/docs/entityconfig.html file.
<!-- <jndi-jdbc jndi-server-name="default" jndi-name="comp/env/jdbc/xa/localfirebird" isolation-level="ReadCommitted"/> --> <!-- Orion Style JNDI name -->
<!-- <tyrex-dataSource dataSource-name="firebird" isolation-level="ReadCommitted"/> Â -->
</datasource>
<!--
<!--
The following has been tested with SQL Server 2005 + MS SQL Server JDBC Driver 1.1
Tips:
1. Make sure your SQL Server has mixed mode authentication as per this post:
@@ -507,13 +507,13 @@ access. For a detailed description see the core/docs/entityconfig.html file.
3. Make sure you have installed JDBC Driver XA support as per MSSQL_JDBC_HOME/enu/xa/xa_install.sql
4. Make sure that you have created and authorized the ofbiz database and login
5. Make sure that schema-name, jdbc-username, jdbc-password and databaseName are all correct!
Notes:
a. The reason for putting SelectMethod=cursor property in URL is explained here:
http://forum.java.sun.com/thread.jspa?forumID=48&threadID=184797
b. If using an old version of the driver, beware of this resource leak:
http://support.microsoft.com/kb/820773/
-->
-->
<datasource name="localmssql"
helper-class="org.ofbiz.entity.datasource.GenericHelperDAO"
schema-name="dbo"