taylor 01/07/07 20:46:39
Modified: src/java/org/apache/jetspeed/util/customization
PSMLDocument.java
Log:
- fixed a little compile problem in the glucode customization that popped up after
switching to castor 0.9.3. For some reason, the parameters on several methods in the
generated java bindings are now in different order.
Revision Changes Path
1.6 +3 -3
jakarta-jetspeed/src/java/org/apache/jetspeed/util/customization/PSMLDocument.java
Index: PSMLDocument.java
===================================================================
RCS file:
/home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/util/customization/PSMLDocument.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- PSMLDocument.java 2001/07/02 07:47:50 1.5
+++ PSMLDocument.java 2001/07/08 03:46:39 1.6
@@ -82,7 +82,7 @@
*
* @author <a href="mailto:[EMAIL PROTECTED]">Peter Yoo </a>
* @author <a href="mailto:[EMAIL PROTECTED]">Ernest Ros </a>
- * @version $Id: PSMLDocument.java,v 1.5 2001/07/02 07:47:50 taylor Exp $
+ * @version $Id: PSMLDocument.java,v 1.6 2001/07/08 03:46:39 taylor Exp $
*
*/
public class PSMLDocument
@@ -185,7 +185,7 @@
int idx = this.findIndex(thePortlets, theEntry);
// Entry has been found.
- thePortlets.setEntry(theEntry.getEntry(), idx);
+ thePortlets.setEntry(idx, theEntry.getEntry());
}// end setEntry()
/**
@@ -632,7 +632,7 @@
found.setValue(value);
if (foundIndex != -1)
- theSkin.setProperty(found, foundIndex);
+ theSkin.setProperty(foundIndex, found);
else
theSkin.addProperty(found);
// end if
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]