You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2004/08/16 14:12:43 UTC
cvs commit: cocoon-lenya/src/java/org/apache/lenya/cms/cocoon/acting ReservedCheckoutTestAction.java
andreas 2004/08/16 05:12:43
Modified: src/java/org/apache/lenya/cms/cocoon/acting
ReservedCheckoutTestAction.java
Log:
using boolean || instead of integer |
Revision Changes Path
1.5 +2 -2 cocoon-lenya/src/java/org/apache/lenya/cms/cocoon/acting/ReservedCheckoutTestAction.java
Index: ReservedCheckoutTestAction.java
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/java/org/apache/lenya/cms/cocoon/acting/ReservedCheckoutTestAction.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ReservedCheckoutTestAction.java 23 May 2004 12:52:43 -0000 1.4
+++ ReservedCheckoutTestAction.java 16 Aug 2004 12:12:43 -0000 1.5
@@ -49,7 +49,7 @@
try {
RCMLEntry entry =getRc().getRCML(getFilename()).getLatestEntry();
- if ((entry == null) | (entry.getType() != RCML.co) | !entry.getIdentity().equals(getUsername())) {
+ if ((entry == null) || (entry.getType() != RCML.co) || !entry.getIdentity().equals(getUsername())) {
//check out
getRc().reservedCheckOut(getFilename(),getUsername());
}
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org