cziegeler 2003/06/09 23:15:42
Modified: src/blocks/portal/java/org/apache/cocoon/portal/source
CopletSourceFactory.java
Log:
Corrected execution order
Revision Changes Path
1.3 +2 -2
cocoon-2.1/src/blocks/portal/java/org/apache/cocoon/portal/source/CopletSourceFactory.java
Index: CopletSourceFactory.java
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/blocks/portal/java/org/apache/cocoon/portal/source/CopletSourceFactory.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- CopletSourceFactory.java 22 May 2003 15:19:38 -0000 1.2
+++ CopletSourceFactory.java 10 Jun 2003 06:15:42 -0000 1.3
@@ -99,8 +99,8 @@
// remove the protocol
int position = location.indexOf(':') + 1;
if (position != 0) {
- location = location.substring(position+2);
protocol = location.substring(0, position);
+ location = location.substring(position+2);
}
ProfileManager profileManager = null;
CopletInstanceData coplet = null;