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
+13 -13
View File
@@ -18,7 +18,7 @@ specific language governing permissions and limitations
under the License.
-->
<entitymodel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<entitymodel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/entitymodel.xsd">
<!-- ========================================================= -->
<!-- ======================== Defaults ======================= -->
@@ -59,7 +59,7 @@ under the License.
<!-- ========================================================= -->
<!-- org.ofbiz.security.login -->
<!-- ========================================================= -->
<entity entity-name="UserLogin"
package-name="org.ofbiz.security.login"
title="User Login Entity">
@@ -129,7 +129,7 @@ under the License.
<entity entity-name="SecurityGroup"
package-name="org.ofbiz.security.securitygroup"
default-resource-name="SecurityEntityLabels"
default-resource-name="SecurityEntityLabels"
title="Security Component - Security Group Entity">
<field name="groupId" type="id-ne"></field>
<field name="description" type="description"></field>
@@ -190,16 +190,16 @@ under the License.
<relation type="many" rel-entity-name="SecurityGroupPermission">
<key-map field-name="groupId"/>
</relation>
</entity>
</entity>
<entity entity-name="ProtectedView"
package-name="org.ofbiz.security.securitygroup"
title="Security Component - Protected View Entity">
<description>Defines views protected from data leakage</description>
<field name="groupId" type="id-ne"></field>
<field name="viewNameId" type="id-long-ne"><description>name of view to protect from data theft</description></field>
<field name="maxHits" type="numeric"><description>number of hits before tarpitting a login for a view</description></field>
<field name="maxHitsDuration" type="numeric"><description>period of time associated with maxHits (in seconds)</description></field>
<field name="tarpitDuration" type="numeric"><description>period of time a login will not be able to acces this view again (in seconds)</description></field>
<field name="viewNameId" type="id-long-ne"><description>name of view to protect from data theft</description></field>
<field name="maxHits" type="numeric"><description>number of hits before tarpitting a login for a view</description></field>
<field name="maxHitsDuration" type="numeric"><description>period of time associated with maxHits (in seconds)</description></field>
<field name="tarpitDuration" type="numeric"><description>period of time a login will not be able to acces this view again (in seconds)</description></field>
<prim-key field="groupId"/>
<prim-key field="viewNameId"/>
<relation type="one" fk-name="VIEW_SECGRP_GRP" rel-entity-name="SecurityGroup">
@@ -208,7 +208,7 @@ under the License.
<relation type="many" rel-entity-name="SecurityGroupPermission">
<key-map field-name="groupId"/>
</relation>
</entity>
</entity>
<view-entity entity-name="UserLoginAndProtectedView"
package-name="org.ofbiz.security.securitygroup"
never-cache="true"
@@ -225,10 +225,10 @@ under the License.
package-name="org.ofbiz.security.securitygroup"
title="Security Component - Protected View Entity">
<description>Login View couple currently tarpitted : any access to the view for the login is denied</description>
<field name="viewNameId" type="id-long-ne"><description>name of view protected from data theft</description></field>
<field name="userLoginId" type="id-ne"/>
<field name="tarpitReleaseDateTime" type="numeric"><description>Date/Time at which the login will gain anew access to the view (in milliseconds from midnight, January 1, 1970 UTC , 0 meaning no tarpit to allow the admin to free a view and to keep history</description></field>
<field name="viewNameId" type="id-long-ne"><description>name of view protected from data theft</description></field>
<field name="userLoginId" type="id-ne"/>
<field name="tarpitReleaseDateTime" type="numeric"><description>Date/Time at which the login will gain anew access to the view (in milliseconds from midnight, January 1, 1970 UTC , 0 meaning no tarpit to allow the admin to free a view and to keep history</description></field>
<prim-key field="viewNameId"/>
<prim-key field="userLoginId"/>
</entity>
</entity>
</entitymodel>