Add a logger
authorBruno Sinou <bsinou@argeo.org>
Sun, 29 May 2011 23:59:40 +0000 (23:59 +0000)
committerBruno Sinou <bsinou@argeo.org>
Sun, 29 May 2011 23:59:40 +0000 (23:59 +0000)
git-svn-id: https://svn.argeo.org/commons/trunk@4546 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

eclipse/runtime/org.argeo.eclipse.ui.jcr/src/main/java/org/argeo/eclipse/ui/jcr/editors/AbstractJcrQueryEditor.java

index 7927046a90df734361a79a5efc9da2282d3592dd..e229a00397f57f700074e6581f4c77d77819f3aa 100644 (file)
@@ -9,6 +9,8 @@ import javax.jcr.query.QueryResult;
 import javax.jcr.query.Row;
 import javax.jcr.query.RowIterator;
 
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
 import org.argeo.ArgeoException;
 import org.argeo.eclipse.ui.GenericTableComparator;
 import org.eclipse.core.runtime.IProgressMonitor;
@@ -38,6 +40,8 @@ import org.eclipse.ui.part.EditorPart;
 
 /** Executes any JCR query. */
 public abstract class AbstractJcrQueryEditor extends EditorPart {
+       private final static Log log = LogFactory
+                       .getLog(AbstractJcrQueryEditor.class);
 
        protected String initialQuery;
        protected String initialQueryType;