cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r391551 - in /cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal: coplet/impl/DefaultCopletFactory.java layout/impl/DefaultLayoutFactory.java
Date Wed, 05 Apr 2006 06:55:54 GMT
Author: cziegeler
Date: Tue Apr  4 23:55:41 2006
New Revision: 391551

URL: http://svn.apache.org/viewcvs?rev=391551&view=rev
Log:
Use underscores for ids

Modified:
    cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/coplet/impl/DefaultCopletFactory.java
    cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/layout/impl/DefaultLayoutFactory.java

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/coplet/impl/DefaultCopletFactory.java
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/coplet/impl/DefaultCopletFactory.java?rev=391551&r1=391550&r2=391551&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/coplet/impl/DefaultCopletFactory.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/coplet/impl/DefaultCopletFactory.java
Tue Apr  4 23:55:41 2006
@@ -131,7 +131,7 @@
         String id = null;
         if ( copletDescription.createId() ) {
             synchronized (this) {
-                id = copletData.getId() + '-' + idCounter;
+                id = copletData.getId() + '_' + idCounter;
                 idCounter += 1;
             }
         }

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/layout/impl/DefaultLayoutFactory.java
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/layout/impl/DefaultLayoutFactory.java?rev=391551&r1=391550&r2=391551&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/layout/impl/DefaultLayoutFactory.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/layout/impl/DefaultLayoutFactory.java
Tue Apr  4 23:55:41 2006
@@ -319,7 +319,7 @@
         String id = null;
         if ( layoutDescription.createId() ) {
             synchronized (this) {
-                id = layoutName + '-' + idCounter;
+                id = layoutName + '_' + idCounter;
                 idCounter += 1;
             }
         }



Mime
View raw message