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 2005/04/08 22:17:43 UTC
svn commit: r160596 -
lenya/trunk/src/java/org/apache/lenya/cms/repository/SourceNode.java
Author: andreas
Date: Fri Apr 8 13:17:42 2005
New Revision: 160596
URL: http://svn.apache.org/viewcvs?view=rev&rev=160596
Log:
[minor change] replaced System.out by getLogger().debug
Modified:
lenya/trunk/src/java/org/apache/lenya/cms/repository/SourceNode.java
Modified: lenya/trunk/src/java/org/apache/lenya/cms/repository/SourceNode.java
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/java/org/apache/lenya/cms/repository/SourceNode.java?view=diff&r1=160595&r2=160596
==============================================================================
--- lenya/trunk/src/java/org/apache/lenya/cms/repository/SourceNode.java (original)
+++ lenya/trunk/src/java/org/apache/lenya/cms/repository/SourceNode.java Fri Apr 8 13:17:42 2005
@@ -238,8 +238,9 @@
* @see org.apache.lenya.transaction.Transactionable#lock()
*/
public void lock() throws TransactionException {
- System.out.println("Locking " + this);
- new Exception().printStackTrace();
+ if (getLogger().isDebugEnabled()) {
+ getLogger().debug("Locking [" + this + "]");
+ }
int currentVersion;
try {
currentVersion = getRevisionController().getLatestVersion(getRCPath());
@@ -303,5 +304,5 @@
public String toString() {
return "node " + this.sourceUri;
}
-
+
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org