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:
@@ -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 ======================= -->
|
||||
@@ -32,20 +32,20 @@ under the License.
|
||||
<!-- =========================================================
|
||||
For the test, testing is the basic entity.
|
||||
It can have a type represented by TestingType, and can be a member of a TestingNode.
|
||||
|
||||
|
||||
TestingNodes represent a hierarchy of Node, each Node can have one parent
|
||||
and many children.
|
||||
|
||||
and many children.
|
||||
|
||||
A TestingNodeMember can be member of many TestingNodes.
|
||||
|
||||
|
||||
========================================================= -->
|
||||
<!-- ======================== Data Model ===================== -->
|
||||
<!-- The modules in this file are as follows: -->
|
||||
<!-- - org.ofbiz.entity.test -->
|
||||
<!-- ========================================================= -->
|
||||
|
||||
<!-- =========================================================
|
||||
The testing entity is a basic entity with a type
|
||||
<!-- =========================================================
|
||||
The testing entity is a basic entity with a type
|
||||
========================================================= -->
|
||||
<entity entity-name="Testing"
|
||||
package-name="org.ofbiz.entity.test"
|
||||
@@ -62,7 +62,7 @@ under the License.
|
||||
<key-map field-name="testingTypeId"/>
|
||||
</relation>
|
||||
</entity>
|
||||
<!-- =========================================================
|
||||
<!-- =========================================================
|
||||
Testing entity type
|
||||
========================================================= -->
|
||||
<entity entity-name="TestingType"
|
||||
@@ -71,7 +71,7 @@ under the License.
|
||||
<field name="testingTypeId" type="id-ne"/>
|
||||
<field name="description" type="description"/>
|
||||
<prim-key field="testingTypeId"/>
|
||||
</entity>
|
||||
</entity>
|
||||
<!-- =========================================================
|
||||
An entity for testing the BLOB data type
|
||||
========================================================== -->
|
||||
@@ -81,9 +81,9 @@ under the License.
|
||||
<field name="testBlobId" type="id-ne"/>
|
||||
<field name="testBlobField" type="blob"/>
|
||||
<prim-key field="testBlobId"/>
|
||||
</entity>
|
||||
<!-- =========================================================
|
||||
Testing Node entity : hierachy of nodes having
|
||||
</entity>
|
||||
<!-- =========================================================
|
||||
Testing Node entity : hierachy of nodes having
|
||||
'testing node member' as potential members
|
||||
========================================================= -->
|
||||
<entity entity-name="TestingNode"
|
||||
@@ -100,7 +100,7 @@ under the License.
|
||||
<key-map field-name="testingNodeId" rel-field-name="primaryParentNodeId"/>
|
||||
</relation>
|
||||
</entity>
|
||||
<!-- =========================================================
|
||||
<!-- =========================================================
|
||||
Testing Node member
|
||||
A testing member entity can belong to any testing node
|
||||
========================================================= -->
|
||||
@@ -121,7 +121,7 @@ under the License.
|
||||
<key-map field-name="testingNodeId"/>
|
||||
</relation>
|
||||
</entity>
|
||||
<!-- =========================================================
|
||||
<!-- =========================================================
|
||||
View : a Testing Node with its member(s)
|
||||
========================================================= -->
|
||||
<view-entity entity-name="TestingNodeAndMember"
|
||||
|
||||
Reference in New Issue
Block a user